OTA updates stopped working with set up permissions on Android

#1

Hello.
I am using SDK 30, my updates config is the following:

"updates": { "enabled": true, "checkAutomatically": "ON_LOAD", "fallbackToCacheTimeout": 0 }

I have subscribed to an update event so when update download finished I show a notification that reloads from cache when clicked on. When opening standalone built app I realized that in-app-notifications I am using requires VIBRATE permission, so I set it in app.json:
"android": { "permissions": [ "VIBRATE" ] }
Permission errog gone, but updates stopped working. I can see a notification, which tells me it is downloading something, but it is not caching probably. Help please.

0 Likes

#2

I think I got it. I had to include READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE permissions too.

0 Likes

#3

Glad you got it fixed @staskjs. Thanks for sharing the fix as well!

Cheers,

Adam

0 Likes

closed #4

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.

0 Likes