You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I have a problem - I require Ti.UDP in app.js, I have added manifest code and playservices correctly.
But when user deletes my app and installs new version, Ti.UDP throws error about missing permissions(FINE_LOCATION), even if I have FINE_LOCATION in tiapp.xml() and when app opens login window I request permissions from user(Ti.Android.requestPermissions(["android.permission.CALL_PHONE", "android.permission.READ_CONTACTS","android.permission.READ_EXTERNAL_STORAGE","android.permission.ACCESS_FINE_LOCATION","android.permission.ACCESS_COARSE_LOCATION", "android.permission.WRITE_EXTERNAL_STORAGE"], function(e){...});). App crashes(Application stopped and needs restart), when I start app second time, it runs normally.
I discovered, that if I enable all permissions after install(not immmediate launch) and then run app for first time, app doesn't crash and works normally.
I tried to put Tracker code inside loginWindow.addEventListener("open") and after requesting permissions, but no luck.
Please help me how to avoid this crashing uppon start.
Thank you
The text was updated successfully, but these errors were encountered:
Hello,
I have a problem - I require Ti.UDP in app.js, I have added manifest code and playservices correctly.
But when user deletes my app and installs new version, Ti.UDP throws error about missing permissions(FINE_LOCATION), even if I have FINE_LOCATION in tiapp.xml() and when app opens login window I request permissions from user(Ti.Android.requestPermissions(["android.permission.CALL_PHONE", "android.permission.READ_CONTACTS","android.permission.READ_EXTERNAL_STORAGE","android.permission.ACCESS_FINE_LOCATION","android.permission.ACCESS_COARSE_LOCATION", "android.permission.WRITE_EXTERNAL_STORAGE"], function(e){...});). App crashes(Application stopped and needs restart), when I start app second time, it runs normally.
I discovered, that if I enable all permissions after install(not immmediate launch) and then run app for first time, app doesn't crash and works normally.
I tried to put Tracker code inside loginWindow.addEventListener("open") and after requesting permissions, but no luck.
Please help me how to avoid this crashing uppon start.
Thank you
The text was updated successfully, but these errors were encountered: