-
Notifications
You must be signed in to change notification settings - Fork 254
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
Add privacy manifest from bugsnag-cocoa to React Native #2132
Comments
Hi @sparga Thanks for raising this with us. Just to confirm, can you please let us know which version of the BugSnag React Native SDK you have installed in your app? Since the v7.22.3 release, the SDK should be using v6.28.0 of bugsnag-cocoa which is compliant with Apple's required reasons for API usage, and we've not received any other reports of this failing to work for React Native projects. Are you also able to confirm how you installed the SDK? For example, did you follow the CLI setup steps? https://docs.bugsnag.com/platforms/react-native/react-native/#installation-and-configuration Also, was your app rejected by Apple prior to you making this change, or did you simply just observe that the BugSnag privacy manifest seemed to be missing from the final bundle? |
I am using Bugsnag-Cocoa v6.28.0 is indeed compliant and correctly include the Privacy Manifest in the app bundle. But the React Native SDK seems to use a different podspec file which doesn't include the manifest. The SDK was installed years ago so I cannot confirm how it was installed but the git history suggests that the CLI was used. I haven't tried submitting an app without this change. I simply noticed that other 3rd party SDKs had their privacy manifest included in the final app bundle whereas Bugsnag didn't. Other libraries all seem to be using |
Hi @sparga Thanks for the additional information. We've created a task to look into this and update the |
Hi @sparga I'm just posting an update here to let you know that we have updated the podspec based on your suggestions. This has been included in the Thanks again for raising this with us. |
Hi! 👋
While adding privacy manifest to my project, I noticed that the one provided by Bugsnag wasn't included in the final bundle. It turns out that the podspec to integrate
bugsnag-cocoa
in a React Native project is different.I had to update the podspecs from
bugsnag-js
to fix it. For now I am usingpatch-package
but I think it would be great to have that change merged upstream.Here is the diff that solved my problem:
Thank you!
The text was updated successfully, but these errors were encountered: