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
In Notifications.js #1
Comments
Hello, I use the Legacy key. Also, just a reminder: This is for testing only, if you want to use this on a Release build you will need a couple of changes. https://github.com/LuisRodriguezLD/Fuse-Firebase-Notifications#important-ios |
Did the legacy server. Enable push on xcode still no success. Sandbox is true, because i am testing internally. for certificate, I uploaded .p8 certificate. A lot of certificate don't know which one to use. |
Ah, apparently Firebase edited some of the documentation.
Please let me know if you have any additional questions. |
still not working. followed every steps. Do i have to do anything on xcode? |
This is interesting. Maybe something else changed. |
2017-08-15 14:37:24.259468-0500 nsatlm[15211:3021455] [DYMTLInitPlatform] platform initialization successful |
This not an issue with the repo nor Fuse. Probably related to certificates or signing.
Again, not sure what causes it and apparently a lot of users are seeing it. I'll keep this open until I update it to use Keys instead of Certificates. |
Finally, it works. But notification doesn't show up in notification bar. only shows text after running |
I'm glad it worked. Could you share your solution for future problems? More on that: https://www.fusetools.com/docs/fuse/pushnotifications/push#the-notification |
my bad it not working. Works for device with device token only. I tested with NWPusher which was on fusetools docs. I think the APNtoFCM() never runs. Sorry for the confusion |
I am confused with this fetch fetch("https://iid.googleapis.com/iid/v1:batchImport", options) Don't we have to add device token before importing? or I am completely lost |
I keep getting invalid fcm token even though the above code you provided print out long string of FCM token. |
Sorry for the delay. That fetch transforms the Apple Push Notification token and transforms it into Google Cloud messaging token. Here is more info on that API -> https://developers.google.com/instance-id/reference/server#create_registration_tokens_for_apns_tokens You can also take a look at the very bottom on that page, there are errors and their definitions. |
Hi, |
Interesting, I can't get it to work either. Changing this to bug, I will check what's going on. It was working, maybe Firebase changed something (?). Or maybe I missed something..? |
In Notifications.js change line 44 with your api key
Which api key should I use. Server key or legacy server key?
I tried both. It doesn't work. Am I missing something?
The text was updated successfully, but these errors were encountered: