Hi,
I correctly setup an app to send push notifications, they are sent correctly but I receive them coming from “Expo” an not my app…
I’m testing on a real device with a “run” not from app store, maybe that the issue? Will it change on production and when the app is on the App Store?
My SDK is 40
On android.
My app.json :
{
"expo": {
"name": "My App name",
"slug": "My App name",
"version": "0.9.9.2",
"orientation": "portrait",
"icon": "./assets/icon.png",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true
},
"web": {
"favicon": "./assets/favicon.png"
},
"android": {
"package": "com.XXXXXXXXX.XXXXX",
"googleServicesFile": "./google-services.json",
"versionCode": 22,
"config": {
"googleMobileAdsAppId": "ca-app-pub-XXXXXXXXXXXX~5635417597" // sample id, replace with your own
},
"permissions": [
"NOTIFICATIONS",
"CAMERA",
"CAMERA_ROLL"
],
"icon": "./assets/icon.png",
"useNextNotificationsApi": true
},
"notification": {
/*
Local path or remote url to an image to use as the icon for push notifications.
96x96 png grayscale with transparency.
*/
"icon": "./assets/icon_push.png",
/*
Tint color for the push notification image when it appears in the notification tray.
6 character long hex color string eg: "#000000"
*/
"color": "#000000",
/*
Show each push notification individually "default" or collapse into one "collapse".
Valid values: "default", "collapse"
*/
"androidMode": "collapse",
/*
If "androidMode" is set to "collapse", this title is used for the collapsed notification message.
eg: "#{unread_notifications} new interactions"
*/
"androidCollapsedTitle": "New notifications"
}
}
}