Open cinzianicoletti opened 4 years ago
@nicolettinzia how did you solve this ?
check this out: https://github.com/facebook/react-native/issues/10009#issuecomment-347839488
try setTimeout
or a delay function before trying to access the Android API.
const delay = ms => new Promise(res => setTimeout(res, ms));
await delay(5000);
I have this abnormal problem. When I compile the application in debug mode everything works in the correct mode. The moment I create the apk and publish it for online tests, the alert to activate the GPS no longer appears. Anyone know what it is? Here the specifications:
I thank in advance who will want to help me.