-
Notifications
You must be signed in to change notification settings - Fork 5
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
[Bug]: iOSNotificationsManager.RequestPermissionAsync #81
Comments
What version of Xcode and .Net are you using? Are you using a Mac or Windows machine? Are you able to reproduce the error on Debug builds? |
Hey @shepherd-l, What version of Xcode and .Net are you using? == > .NET Core SDK: 6.0.417, 7.0.102, 7.0.202, 7.0.306, 7.0.404, 8.0.100 Are you using a Mac or Windows machine? ==> MacOS 12.7.1 (21G920) on Intel Chip X64. Build configruation: Release Are you able to reproduce the error on Debug builds? Additional information: The same project built on the latest MacOS (Sonoma), Xcode (15.0.1), Mono (6.12.0.188), Xamarin.iOS (16.4.0.23) and Release configuration on M2 chip (ARM64), the issue was not happened. |
@TryLastOne I am not able to reproduce this issue but it seems similar to these xamarin/xamarin-macios#12416 |
Hi, we have had no further reports of this. Please upgrade the OneSignal SDK if you or anyone is still having this issue. If this is still an issue, please open a new report with updated information. |
What happened?
iOSNotificationsManager.RequestPermissionAsync (System.Boolean fallbackToSettings)
System.ExecutionEngineException: Attempting to JIT compile method 'void Com.OneSignal.iOS.OSNotifications:RequestPermission (Com.OneSignal.iOS.OSUserResponseBlock,bool)' while running in aot-only mode. See https://docs.microsoft.com/xamarin/ios/internals/limitations for more information.
Steps to reproduce?
What did you expect to happen?
Show notification prompt on iOS app.
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: