-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sign api requests and include in query vars for authentication
- Loading branch information
1 parent
970d59b
commit e64f040
Showing
4 changed files
with
152 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
const isProd = process.env.EXPO_PUBLIC_APP_VARIANT === 'production'; | ||
|
||
const packageName = isProd ? 'com.jinnihealth' : `com.jinnihealth.${VARIANT}`; | ||
const appName = isProd ? 'Jinni Health' : `Jinni Health (${VARIANT})`; | ||
export default { | ||
expo: { | ||
name: appName, | ||
slug: 'jinni-health', | ||
version: '0.0.1', | ||
orientation: 'portrait', | ||
icon: './public/icon.png', | ||
userInterfaceStyle: 'light', | ||
splash: { | ||
image: './public/splash.png', | ||
resizeMode: 'contain', | ||
backgroundColor: '#ffffff', | ||
}, | ||
assetBundlePatterns: ['**/*'], | ||
scheme: 'jinni-health', | ||
plugins: [ | ||
'react-native-health', | ||
'react-native-health-connect', | ||
'react-native-nfc-manager', | ||
[ | ||
'expo-build-properties', | ||
{ | ||
ios: { | ||
deploymentTarget: '16.0', | ||
}, | ||
android: { | ||
compileSdkVersion: 34, | ||
targetSdkVersion: 34, | ||
minSdkVersion: 26, | ||
}, | ||
}, | ||
], | ||
[ | ||
'expo-contacts', | ||
{ | ||
contactsPermission: | ||
'Allow your jinni to access your friends list to contact their jinn and communicate with them in the spiritual world.', | ||
}, | ||
], | ||
[ | ||
'expo-location', | ||
{ | ||
locationAlwaysAndWhenInUsePermission: | ||
'Allow your jinni to follow you and protect you around the world.', | ||
isAndroidBackgroundLocationEnabled: false, | ||
}, | ||
], | ||
'expo-router', | ||
'sentry-expo', | ||
], | ||
hooks: { | ||
postPublish: [ | ||
{ | ||
file: 'sentry-expo/upload-sourcemaps', | ||
config: { | ||
organization: '${EXPO_PUBLIC_SENTRY_ORG}', | ||
project: '${EXPO_PUBLIC_SENTRY_PROJECT}', | ||
}, | ||
}, | ||
], | ||
}, | ||
ios: { | ||
supportsTablet: false, | ||
infoPlist: { | ||
NSContactsUsageDescription: | ||
'Allow your jinni to access your friends list to contact their jinn and communicate with them in the spiritual world.', | ||
}, | ||
bundleIdentifier: packageName, | ||
}, | ||
android: { | ||
adaptiveIcon: { | ||
foregroundImage: './public/adaptive-icon.png', | ||
backgroundColor: '#ffffff', | ||
}, | ||
permissions: [ | ||
'android.permission.NFC', | ||
'android.permission.READ_CONTACTS', | ||
'android.permission.WRITE_CONTACTS', | ||
'android.permission.health.READ_STEPS', | ||
'android.permission.health.READ_ACTIVE_CALORIES_BURNED', | ||
'android.permission.health.READ_TOTAL_CALORIES_BURNED', | ||
'android.permission.health.READ_BASAL_METABOLIC_RATE', | ||
'android.permission.health.READ_LEAN_BODY_MASS', | ||
'android.permission.health.READ_BODY_FAT', | ||
'android.permission.health.READ_EXERCISE', | ||
'android.permission.health.READ_DISTANCE', | ||
'android.permission.health.READ_HEART_RATE', | ||
'android.permission.health.READ_NUTRITION', | ||
'android.permission.health.READ_HYDRATION', | ||
'android.permission.health.READ_RESPIRATORY_RATE', | ||
'android.permission.health.READ_RESTING_HEART_RATE', | ||
'android.permission.health.READ_SLEEP', | ||
'android.permission.health.READ_WEIGHT', | ||
'android.permission.ACCESS_COARSE_LOCATION', | ||
'android.permission.ACCESS_FINE_LOCATION', | ||
'android.permission.FOREGROUND_SERVICE', | ||
], | ||
package: packageName, | ||
}, | ||
experiments: { | ||
typedRoutes: true, | ||
tsconfigPaths: true, | ||
}, | ||
extra: { | ||
router: { | ||
origin: false, | ||
}, | ||
eas: { | ||
projectId: '9d90a8bf-a538-49f0-925c-afd83fd4c8d3', | ||
}, | ||
}, | ||
owner: 'malik2', | ||
}, | ||
}; |
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