Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix notifications not working in Android emulator
Fixes #3113 The native code inside `react-native-notifications` varied its behavior when reading the `gcm_id` value from the metadata. Because of this it was throwing a `MismatchSenderId` error. One solution that was suggested in the GitHub's Issues was renaming `android:value="your_sender_id\0"` to `android:value="your_sender_id\"` This worked but I was a bit unconmfortable with the contrary suggestion in the official documentation `// IMPORTANT: Leave the trailing \0 intact!!!` Instead, extract this value to a string resource and refer it by name.
- Loading branch information