Comments (4)
Hello @maxfelipe;
Push SDK does not expose the message payloads/contents, we can access only these uriPage, extras, and remoteMessage, and as you see; remoteMessage's values are all null.
from hms-react-native-plugin.
My suggestion as a workaround is;
You can send data message instead of notification thus you can access all properties of data message then use that values with LocalNotification feature.
from hms-react-native-plugin.
So, why is the remoteMessage field null? Shouldn't it have what I send with the push message? How do I get something to be read on the client? Where would I have to set "uriPage" or "extras" on the JSON I send to the push server?
from hms-react-native-plugin.
This is extras part:
This is uriPage part:
Rest of them are remoteMessage 👍
from hms-react-native-plugin.
Related Issues (20)
- [react-native-hms-push] HmsPushInstanceId.getToken error HOT 2
- Hitting error TS1110 when importing @hmscore/react-native-hms-analytics
- gradle-wrapper.jar! where is gradle-wrapper.jar ?? HOT 1
- Ads kit: VAST player needs permission on Android 31 HOT 2
- HMS map can not work inside ScrollView HOT 1
- Can the latest tag be created for the current open source repository? HOT 1
- fails to build Android with React Native 0.72.0 HOT 9
- Unhelpful Typescript type definitions HOT 1
- MapInitializer is not initialized HOT 5
- Android build error v0.72.6 [HMS-PUSH] HOT 7
- Map not showing in React Native Expo HOT 2
- HMSMap Not Displaying on Device HOT 2
- Cannot use @TaskAction annotation on method IncrementalTransformTask.transform()
- HMS push not working in expo HOT 1
- HMSReward.adRewardedListenerAdd is not functioning properly
- AGC Check Fail on HMS Location
- HMS-Account Integration Error on React Native 0.73.1
- -
- Clarification on Push Notification Behavior When Disabled
- Location Kit causes crash on Android 14 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 hms-react-native-plugin.