-
-
Notifications
You must be signed in to change notification settings - Fork 858
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App Tracking Transparency prompt not showing on iOS 15 #676
Comments
Same here, and my job app has rejected review due to this. |
I'm in the same situation. My app was rejected and I can't upload because of this issue. |
It seems to work on my simulators now that I've upgraded to version 8.2.2. According to this ATTrackingManager.requestTrackingAuthorization stopped working in iOS 15 you're only supposed to call the permission request while the app is active (whatever that means). I call mine in the initState of the first class that is actually really displayed after the splash screen after a bunch of other permission requests. Maybe it could be helpful if you could share the code where you call your permission request. |
version 8.2.2 I called my permission request in initstate. It was working perviously on IOS 14.x, now not working in IOS 15 anymore. **Update: |
Same problem, v8.2.5
Podfile: target.build_configurations.each do |config|
old_target = config.build_settings['IPHONEOS_DEPLOYMENT_TARGET']
new_target = project_deployment_target
next if old_target == new_target
next if old_target == nil
# puts " #{config.name}: #{old_target.yellow} -> #{new_target.green}"
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = new_target
config.build_settings['CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER'] = "NO"
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
# You can enable the permissions needed here. For example to enable camera
# permission, just remove the `#` character in front so it looks like this:
#
# ## dart: PermissionGroup.camera
# 'PERMISSION_CAMERA=1'
#
# Preprocessor definitions can be found in: https://github.com/Baseflow/flutter-permission-handler/blob/master/permission_handler/ios/Classes/PermissionHandlerEnums.h
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [
'$(inherited)',
## dart: PermissionGroup.calendar
# 'PERMISSION_EVENTS=1',
## dart: PermissionGroup.reminders
# 'PERMISSION_REMINDERS=1',
## dart: PermissionGroup.contacts
# 'PERMISSION_CONTACTS=1',
## dart: PermissionGroup.camera
'PERMISSION_CAMERA=1',
## dart: PermissionGroup.microphone
# 'PERMISSION_MICROPHONE=1',
## dart: PermissionGroup.speech
# 'PERMISSION_SPEECH_RECOGNIZER=1',
## dart: PermissionGroup.photos
# 'PERMISSION_PHOTOS=1',
## dart: [PermissionGroup.location, PermissionGroup.locationAlways, PermissionGroup.locationWhenInUse]
# 'PERMISSION_LOCATION=1',
## dart: PermissionGroup.notification
'PERMISSION_NOTIFICATIONS=1',
## dart: PermissionGroup.mediaLibrary
# 'PERMISSION_MEDIA_LIBRARY=1',
## dart: PermissionGroup.sensors
# 'PERMISSION_SENSORS=1',
## dart: PermissionGroup.bluetooth
# 'PERMISSION_BLUETOOTH=1',
## dart: PermissionGroup.appTrackingTransparency
'PERMISSION_APP_TRACKING_TRANSPARENCY=1',
## dart: PermissionGroup.criticalAlerts
# 'PERMISSION_CRITICAL_ALERTS=1'
]
end
|
Same here as well. requestTrackingAuthorization is not working in ios 15 |
This still issue with v8.3.0... |
i found it, in the settings go to privacy and then tracking and allow for tracking and it stops being permanently denied |
it happened with me as well. the issue is it does not work the first time one opens the app. so install the app. login and then close the app completely and then start it again it will show the prompt. I have used this as a solution the app reviewers and they accepted my app |
I encountered the same issue, the prompt isn't being displayed on iOS 15.5 even with |
so, how about conclusion with this case? |
same issue , |
I have just tested
|
It seems to us that this issue is no longer valid or solved in the meantime. Therefore, we will close this issue. Feel free to reopen the issue when it reappears or if it has not been resolved. Also please inform us about the steps to reproduce and possibly the output of |
🐛 Bug Report
I noticed the ATT prompt is not showing up on iOS 15. Not on the iOS Simulator and also not on my physical iPhone.
See: https://www.reddit.com/r/iOSProgramming/comments/pt41jz/att_prompt_not_showing_on_ios_15/
Version: 8.1.6
Platform:
The text was updated successfully, but these errors were encountered: