OneSignal-iOS-SDK icon indicating copy to clipboard operation
OneSignal-iOS-SDK copied to clipboard

[Bug]: Is NOT allowed to set HSTS for main doc

Open David-Dixon opened this issue 1 year ago • 3 comments

What happened?

Users are not being registered with OneSignal, In the log I see various references like the below.

https://api.onesignal.com/apps/<REDACTED>/subscriptions/<REDACTED> is NOT allowed to set HSTS for main doc (null)

We are using the latest SDK 5.1.0

Steps to reproduce?

Install 5.1.0 SDK in your project.

What did you expect to happen?

Users to be registered.

OneSignal iOS SDK version

5.1.0

iOS version

15

Specific iOS version

iOS 17

Relevant log output

https://api.onesignal.com/apps/57778143-47ea-4514-b11a-35634973b494/subscriptions/3772680b-830c-4a68-b94b-588bdccdb7a8 is NOT allowed to set HSTS for main doc (null)

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

David-Dixon avatar Jan 28 '24 18:01 David-Dixon

Worth noting I have tried adding a App Transport Security exception.

David-Dixon avatar Jan 28 '24 18:01 David-Dixon

Resolved the users not being registered issue by changing the group ID.

group.com.mycompany.myapp

To

group.MYTEAMID.com.mycompany.myapp

Still get the print out in the log about HSTS but appears not to be causing any current issues.

David-Dixon avatar Jan 28 '24 20:01 David-Dixon

Thank you for reporting. To confirm that it isn't causing issues are you able to update subscriptions (e.g. add tags to a user)?

emawby avatar Jan 30 '24 22:01 emawby

Closing due to inactivity

emawby avatar May 20 '24 20:05 emawby