What happened?
I am getting warnings by the Apple App Store about my app including NSLocationWhenInUseUsageDescription and NSBluetoothAlwaysUsageDescription, which I think come from the one OneSignal Flutter SDK.
I can see other issues here about similar things and they point out to the native iOS SDK saying it's their fault, but I found this native SDK issue: OneSignal/OneSignal-iOS-SDK#1536 where they show how to selectively include the imports.
The Flutter SDK can use a similar mechanism to what permission_handler does with macros (expand the iOS setup section in their docs), so we could turn on/off the permissions and the code won't even be compiled/linked if we turn it off.
OneSignal Flutter SDK version
5.3.0
Which platform(s) are affected?
Code of Conduct