Comments (2)
Hi @pankajnegi1893 thank you for your patience. Is this still an issue for you? If so, are you able to update to the latest release and let us know if the behavior is the same?
Thanks!
from react-native-onesignal.
To fix above issue I have tried below steps
-
Removed OneSignalNotificationServiceExtension Completed from Xcode project.
-
cd ios && pod install
-
Now follow React Native SDK Setup
-
Because we are added few script like Setup Firebase Environment GoogleService-Info.plist and [CP-User] [RNFB] Crashlytics Configuration. Beacause of these script are running first after that it checking OneSignalInAppMessages.xcframework. So we have to move "Embed Foundation extension" before "Compile sources".
![73efff22-c103-4edb-953e-831fe7a8c33d](https://private-user-images.githubusercontent.com/49673803/285101616-8463ab4f-7a5c-44e7-9759-11d06e5ca500.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTEiLCJleHAiOjE3MDM2Mjc1ODIsIm5iZiI6MTcwMzYyNzI4MiwicGF0aCI6Ii80OTY3MzgwMy8yODUxMDE2MTYtODQ2M2FiNGYtN2E1Yy00NGU3LTk3NTktMTFkMDZlNWNhNTAwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFJV05KWUFYNENTVkVINTNBJTJGMjAyMzEyMjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjMxMjI2VDIxNDgwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTVhMzQ0YTQyZGFjZTMwYzQzN2IzNzZmNWQyYjAwZmM5OGU1ZGEzMmE3ZTNjYWQ2NzM0MGE3MjkzMGZkOGU5YTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.xR0fZoI3TAXgTDHWA-q-OOYibqSjEFgQTZMAgAblfus)
- Some other key points
Add OneSignalInAppMessages.xcframework into Frameworks,Libraries and Embedded Content
![f8de7028-eb22-4138-9d59-d938e7b24fc8](https://private-user-images.githubusercontent.com/49673803/285101691-6f99b91d-18ef-4496-85da-7e5049dbcc84.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTEiLCJleHAiOjE3MDM2Mjc1ODIsIm5iZiI6MTcwMzYyNzI4MiwicGF0aCI6Ii80OTY3MzgwMy8yODUxMDE2OTEtNmY5OWI5MWQtMThlZi00NDk2LTg1ZGEtN2U1MDQ5ZGJjYzg0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFJV05KWUFYNENTVkVINTNBJTJGMjAyMzEyMjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjMxMjI2VDIxNDgwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQyYWVjNWZmYzc5MDFhNjY3ODBjZGUxZjY3N2Y4ODFhNWQyYjdhZmIyODk2OTkyYzljYTE1NzY3ZTc0MDJkN2UmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.PV8BRVUTBkS4G1PGaWHe7CygHGIgEThJYY0E5WfDMl4)
- In Pod file include this in bottom
target 'OneSignalNotificationServiceExtension' do
pod 'OneSignalXCFramework', '>= 5.0.0', '< 6.0'
end
from react-native-onesignal.
Related Issues (20)
- [Bug]: Expo Eas Build Problem Xcode 15 HOT 4
- [Bug]: Notifications.addPermissionListener('click', e...) doesn't seem to be firing HOT 3
- [Bug]: Fail to Open Custom Sound File After Update APK HOT 1
- FATAL: OneSignal AppId: (null) - AppId is null or format is invalid, stopping initialization. Example usage: 'b2f7f966-d8cc-11e4-bed1-df8f05be55ba' HOT 10
- [Bug]: Unable to determine the Notification Permission status on android via getDeviceState() HOT 2
- [Bug]: Impossible to finish activity, which was created as Push Notification fullScreenIntent HOT 1
- [question]: class com.myapp.NotificationServiceExtension, unresolved supertypes: INotificationServiceExtension
- [Bug]: React native - Push notifications are not received in iOS when app is running ( Foreground ) HOT 2
- [question]: Unable to start receiver com.onesignal.notifications.receivers.BootUpReceiver:
- (OneSignalNotificationServiceExtension )I got error on build with recat native sdk. How to fix it and what did i do wrong ? HOT 1
- [Bug]: Build fails with Framework not found OneSignalUser after adding onesignal. HOT 3
- [Bug]: Empty subscription id HOT 2
- [Bug]: Problem with addEventListener removeEventListener HOT 3
- [question]: OneSignal + Multi Stage/Flavour Environment HOT 1
- [Bug]: fallback to settings prompt is shown when calling requestPermission(false) HOT 3
- [Bug]: calling requestPermission() returns array with boolean HOT 1
- [question]: Can we use the same bundle ID for development and production with different OneSignal app IDs?
- [question]: How to get `getPushSubscriptionId` in the next line of code HOT 5
- [Bug]: Onesignal push notification with status Failed on iOS HOT 3
- [bug]: why is user tags not added or linked on subscriptions HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-onesignal.