Issue
I am not sure if it's necessary to ask user permission to track with AppTrackingTransparency framework using OneSignal Flutter SDK.
The only think I use OneSignal is receve Push Notifications and get the user userId in OSSubscriptionState from OneSignal then send userId to my API.
In my main.dart
@override
void initState() {
super.initState();
if (!mounted) return;
await OneSignal.shared.init(oneSignalAppId, iOSSettings: {
OSiOSSettings.autoPrompt: false,
OSiOSSettings.promptBeforeOpeningPushUrl: true
});
}
Then
OSPermissionSubscriptionState status =
await OneSignal.shared.getPermissionSubscriptionState();
// send status.subscriptionStatus.userId to API
Can somebody help me with this?
Thank you very much for your time
Solution
Faith from OneSignal said:
There is no need to show such a notice to users as we are not tracking anything.
So there is no need to ask permission to track using OneSignal.
Answered By - Rafael Stefani Baptista
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.