Derzeit india supports Push-Benachrichtigungen in iOS React. Das Einrichten scheint einfach zu sein, aber das Erreichen der gleichen Funktionalität in Android scheint viel schwieriger zu sein. Momentan sehe ich in den Dokumenten nichts in Bezug auf die Einrichtung von GCM (Googles Push-Benachrichtigungsdienst) in React Native. Die only module, die ich für GCM gesehen habe, erlaubt den Dienst nur auf iOS. Wie bekomme ich GCM in meiner React Native Android App?Reagieren india Android GCM (Google Cloud Messaging)
Antwort
Dieses Modul sieht aus wie es jetzt Google Cloud Messaging-Funktionalität bieten könnte, bis Facebook einen freigibt, die Mutter Paket React gebündelt in die Haupt.
Hier ist ein anderes Projekt auf Github mit Push-Unterstützung für Android und iOS:
können Sie ein Beispiel oder Implementierung posten? –
Sieht aus wie derzeit auf Android, das eine funktioniert nicht, wenn die App nicht geöffnet ist. [Ref] (http://stackoverflow.com/questions/38100087/unable-to-get-notification-if-app-is-in-closed-state-using-react-native-push-not/38100324#38100324) –
es ist jedoch der in der [Book F8 app] verwendet (https://github.com/fbsamples/f8app/). –
- 1. Google Cloud Messaging GCM über Proxy
- 2. Google Cloud Messaging in Android App integrieren - GCM Connection Server
- 3. Wie funktioniert GCM? (Google Cloud Messaging für Android)
- 4. Leistung von Google-Cloud-Messaging
- 5. Google Cloud Messaging (fake_message_id)
- 6. Google Cloud Messaging - Beispielserver
- 7. Google Cloud Messaging mit Android
- 8. Google Cloud Messaging für Android-Bibliothek und Google Play-Dienste
- 9. GCM (Google Cloud Messaging) entspricht Parse Channels für Push-Benachrichtigungen
- 10. GCM (Google Cloud Messaging) kehrt plötzlich zurück 401
- 11. Firebase (Google) Cloud Messaging (FCM, alte GCM) - Nachrichtenstatus prüfen
- 12. Server-Fehler 'ungültigeRegistrierung' mit GCM (Google Cloud Messaging)
- 13. Google-Cloud-Messaging bereitstellen Motor
- 14. Wie profitiert Google von Google Cloud Messaging?
- 15. Google Cloud Messaging Codierung Fehler
- 16. Welchen Port und welches Protokoll verwendet Google Cloud Messaging (GCM)?
- 17. Browser: Google Cloud Messaging/node-GCM - Daten immer null
- 18. Funktioniert Google Cloud Messaging (GCM) mit Kindle Fire?
- 19. warum kann ich Google Cloud Messaging für Android-Bibliothek
- 20. Wie funktioniert der Google Cloud Messaging-Dienst in Android?
- 21. Google Cloud Messaging - Mehrere Konten Mehrere Geräte
- 22. Google Cloud Messaging ANDROID, was kann ich übertragen
- 23. Google Cloud Messaging: Lebensdauer einer Nachricht
- 24. Google Cloud Messaging sendet keine Benachrichtigung
- 25. android Push-Benachrichtigungen Bibliothek mit Google Cloud Messaging
- 26. Google Cloud Messaging gibt ungültige Registrierung
- 27. Google Cloud Messaging: 100 mehrere Absender Beschränkung
- 28. Einige Probleme mit Google Cloud Messaging API für Android
- 29. Google Cloud Messaging vs Firebase
- 30. Google Cloud Messaging - CCS (XMPP) vs HTTP-Server
https://github.com/facebook/react-native/issues/3423#issuecomment -148.343.744 –