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]: Missing API declaration #1699

Closed
2 of 3 tasks
sbongiz opened this issue Apr 30, 2024 · 3 comments
Closed
2 of 3 tasks

[Bug]: Missing API declaration #1699

sbongiz opened this issue Apr 30, 2024 · 3 comments

Comments

@sbongiz
Copy link

sbongiz commented Apr 30, 2024

What happened?

I am having trouble submitting the application to the store.
Apple tells me I need to add some Missing API declaration.

I followed the step-by-step guide for the Ios integration.
https://documentation.onesignal.com/docs/react-native-sdk-setup

ITMS-91053: Missing API declaration - Your app’s code in the “PlugIns/OneSignalNotificationServiceExtension.appex/OneSignalNotificationServiceExtension” file references one or more APIs that require reasons, including the following API categories: NSPrivacyAccessedAPICategoryFileTimestamp. While no action is required at this time, starting May 1, 2024, when you upload a new app or app update, you must include a NSPrivacyAccessedAPITypes array in your app’s privacy manifest to provide approved reasons for these APIs used by your app’s code. For more details about this policy, including a list of required reason APIs and approved reasons for usage, visit: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api.

ITMS-91053: Missing API declaration - Your app’s code in the “PlugIns/OneSignalNotificationServiceExtension.appex/OneSignalNotificationServiceExtension” file references one or more APIs that require reasons, including the following API categories: NSPrivacyAccessedAPICategoryUserDefaults. While no action is required at this time, starting May 1, 2024, when you upload a new app or app update, you must include a NSPrivacyAccessedAPITypes array in your app’s privacy manifest to provide approved reasons for these APIs used by your app’s code. For more details about this policy, including a list of required reason APIs and approved reasons for usage, visit: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api

Steps to reproduce?

Follow the guide to setup OneSignal in Ios.
Submit the app on the store

What did you expect to happen?

I expected that the submission to have no problem

React Native OneSignal SDK version

Release 5.1.0

Which platform(s) are affected?

  • iOS
  • Android

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@yosukapro
Copy link

Hello
Did you find a solution to this problem?

@ekediala
Copy link

ekediala commented May 6, 2024

+1

@nan-li
Copy link
Contributor

nan-li commented May 7, 2024

Hi everyone, thank you for reporting.

This same issue is reported on our native ios SDK, please check the information in that post: OneSignal/OneSignal-iOS-SDK#1397. You can follow up there.

@nan-li nan-li closed this as completed May 7, 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

4 participants