@goliapkg/sentori-expo 7.0.0 → 7.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app.plugin.js +6 -2
- package/package.json +1 -1
package/app.plugin.js
CHANGED
|
@@ -95,9 +95,13 @@ const withSentoriPushIos = (config) => {
|
|
|
95
95
|
*/
|
|
96
96
|
const withSentoriPushAndroidManifest = (config) => {
|
|
97
97
|
return withAndroidManifest(config, (cfg) => {
|
|
98
|
-
|
|
98
|
+
// addPermission expects the AndroidManifest object (cfg.modResults);
|
|
99
|
+
// it dereferences `.manifest['uses-permission']` internally. Passing
|
|
100
|
+
// `cfg.modResults.manifest` makes that read fail with `Cannot read
|
|
101
|
+
// properties of undefined (reading 'uses-permission')` and crashes
|
|
102
|
+
// `expo prebuild`.
|
|
99
103
|
AndroidConfig.Permissions.addPermission(
|
|
100
|
-
|
|
104
|
+
cfg.modResults,
|
|
101
105
|
'android.permission.POST_NOTIFICATIONS'
|
|
102
106
|
)
|
|
103
107
|
return cfg
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goliapkg/sentori-expo",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.1",
|
|
4
4
|
"description": "Expo adapter for Sentori — Config Plugin marker, expo-application auto-config, EAS post-build helper. Built on @goliapkg/sentori-react-native.",
|
|
5
5
|
"license": "Apache-2.0 OR MIT",
|
|
6
6
|
"author": "GOLIA K.K. <takagi@golia.jp> (https://golia.jp)",
|