Skip to content
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]: Is NOT allowed to set HSTS for main doc #1363

Closed
1 task done
David-Dixon opened this issue Jan 28, 2024 · 4 comments
Closed
1 task done

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

David-Dixon opened this issue Jan 28, 2024 · 4 comments

Comments

@David-Dixon
Copy link

David-Dixon commented Jan 28, 2024

What happened?

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

https://api.onesignal.com/apps//subscriptions/ 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

  • I agree to follow this project's Code of Conduct
@David-Dixon
Copy link
Author

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

@David-Dixon
Copy link
Author

David-Dixon commented Jan 28, 2024

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.

@emawby
Copy link
Contributor

emawby commented Jan 30, 2024

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
Copy link
Contributor

emawby commented May 20, 2024

Closing due to inactivity

@emawby emawby closed this as completed May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants