-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fddff4e
commit 4de939a
Showing
12 changed files
with
952 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
const { | ||
appDelegateContent, | ||
mainActivityContent, | ||
mainApplicationContent, | ||
} = require('./zalokitStrings'); | ||
|
||
module.exports = { | ||
expo: { | ||
name: 'my-expo-app', | ||
slug: 'my-expo-app', | ||
version: '1.0.0', | ||
orientation: 'portrait', | ||
icon: './assets/icon.png', | ||
userInterfaceStyle: 'light', | ||
splash: { | ||
image: './assets/splash.png', | ||
resizeMode: 'contain', | ||
backgroundColor: '#ffffff', | ||
}, | ||
assetBundlePatterns: ['**/*'], | ||
ios: { | ||
supportsTablet: true, | ||
bundleIdentifier: 'com.anonymous.myexpoapp', | ||
}, | ||
android: { | ||
adaptiveIcon: { | ||
foregroundImage: './assets/adaptive-icon.png', | ||
backgroundColor: '#ffffff', | ||
}, | ||
package: 'com.anonymous.myexpoapp', | ||
}, | ||
web: { | ||
favicon: './assets/favicon.png', | ||
}, | ||
plugins: [ | ||
[ | ||
'expo-build-properties', | ||
{ | ||
android: { | ||
extraProguardRules: ` | ||
-keep class com.zing.zalo.**{ *; } | ||
-keep enum com.zing.zalo.**{ *; } | ||
-keep interface com.zing.zalo.**{ *; } | ||
`, | ||
}, | ||
}, | ||
], | ||
['react-native-zalo-kit/expo/withAppDelegateDebug'], | ||
['react-native-zalo-kit/expo/withMainActivityDebug'], | ||
['react-native-zalo-kit/expo/withMainApplicationDebug'], | ||
// [ | ||
// "react-native-zalo-kit/expo", | ||
// { | ||
// appId: "2451745039837416278", | ||
// appDelegateContent, | ||
// mainActivityContent, | ||
// mainApplicationContent, | ||
// }, | ||
// ], | ||
], | ||
}, | ||
}; |
Oops, something went wrong.