With Flutter package device_info_plus I can get device info. But on iOS devices I see permission popup. If user decline the permission , I will not be able to continue my signin functionality.
I tried to find other ways to solve this , but there aren’t working.
Related
The ios app I made with flutter does not ask for notification permissions.
It wanted it in the first version of the app, but now it doesn't.
ios device setting:
apple developer console:
I am using firebase for notifications. When I did research on the subject, I saw that it was related to certificates, but I could not understand. I have not made such a setting for flutteer before. I'm waiting for your help
Fixed
I found the problem. I made a mistake where I asked for notification permission. flutter firebase permission
it got resolved when i followed the directive on this page again.
We Added the ATT(App Tracking Transparency) into our latest Application release, and everything worked fine except for one thing.
When our users try to download the application in the App Store through the Apple Ad specifically, the ATT permission isn't prompting and the data tracking permission is set to disabled by default.
When we try to download on the same device not through the Apple Ad, when we ran the application we see the ATT permission when we launch the application
If anyone has any input or value to add for this issue it will be very helpful and appreciated.
iOS seems to cache the ATT permission for a while.
Try to restart your iOS device after the app was installed via "apple ads click" and then removed.
After the reboot of your iOS device and installing the app from app store the permission prompt should appear.
My permission appears again after I restart my device as #Jochen Holzer suggested.
Note: The permission always appear after uninstall > install in my colleague, but restarting the device is needed in my case. I assume that we have different version. Mine is 14.4 and hers is 14.1
want to upvote his answer but I lack of point
Is there's a way to Reset the Permissions that I’ve already chosen?
I have denied the permission for notifications for some tests, and now I want to ask for notification permission again.
Is that possible?
I’m using the app on Expo app emulator on iOS.
**Update: I found a way by uninstalling Expo app, then reinstall it back, but it's not practical.
The best option without reinstalling in this case is to access the "Settings" menu in the phone/emulator you are using.
You should have an "Expo" item on which permissions ares shown
Example permissions menu for Expo:
I am a beginner in iOS development and want to fetch user's current location, I have gone through tutorials to fetch current location.
When I run app on iPhone device, location authorization pop-up displayed and after authorize I am able to fetch current location.
Problem which I am facing is when I run app on simulator, I didn't receive authorization pop-up. While if i run same code on other's system with simulator, I received auth popup But is doesn't on my system.
I am using Xcode 8.3.1 to run app. Please help my why auth pop-up doesn't displayed on my system.
Simulators don't have permission to fetch Current Location of users due to nonavailability of GPS. Don't you worry about it. If popup appears on a Device then everything is good.
Usually, I was able to test different flows for mic / push permission on iOS by deleting the app and then launching again from XCode. However, recently I am unable to do so because even after deleting the app, when I relaunch the app, instead of asking for permission, it somehow brings back the permissions that I had given to the deleted app. This means it is impossible for me to test alternate flows for asking permission. Has anyone else faced this problem? Can someone guide me to getting back to being asked for permission?