Comments (2)
Then it's probably an issue on your side,
Are you really sure 100% that you set your id properly and that there is no risk that you login an empty id to one signal ?
from react-native-onesignal.
Hi @nachos5, there is no response from OneSignal.initialize("appId")
. What is your code that is returning this?
{
"notificationPermission": true,
"pushSubscriptionState": {
"id": "",
"optedIn": true,
"token": "ftjo7cue........."
},
"result": "success"
}
Additionally, it may take varying length of time to receive the subscription_id if you are getting it too soon after calling OneSignal.initialize()
.
from react-native-onesignal.
Related Issues (20)
- [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
- [question]: How to customize notification prompts based on user language preference? HOT 1
- [Bug]: reactNativeOnesignal.OneSignal.clearHandlers is unedfined HOT 1
- [question]: Multiple commands produce '/Users/hamzabakaran/Library/Developer/Xcode/DerivedData/mobile..../Build/Products/Debug-iphonesimulator/.../Frameworks/OneSignalExtension.framework' HOT 3
- [Bug]: `OneSignal.Notifications.canRequestPermission` not working [Android 11, Android 12] HOT 1
- Closed
- [Bug]: opted in state stops updating on Android after app restarted HOT 6
- [question]: App stopped due to OneSignal?.Notifications?.requestPermission(true); HOT 2
- [Bug]: `getInAppMessages` causing `initWithContext` exception HOT 1
- [Bug]: Doesn't return to the app (crashes) if user rejects notification permission HOT 2
- [Bug]: App crashes on initialization HOT 3
- [question]: React native oneSignal HOT 2
- [question]: OneSignal.User.pushSubscription.getPushSubscriptionId() does not work HOT 3
- [Bug]: Param `launchURL` differs between iOS and Android implementation HOT 1
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.