Skip to content

Commit

Permalink
Add app.json to the code examples
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-md committed Jan 16, 2025
1 parent 2c2e2a1 commit 8e2e3b8
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/scripts/generateCodeExamples.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ const repos = [
'/lib/safe.ts',
'/lib/storage.ts',
'/App.tsx',
'/app.json',
'/.env-sample'
]
}
Expand Down
47 changes: 47 additions & 0 deletions examples/react-native-passkeys/app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"expo": {
"name": "react-native-passkeys",
"slug": "react-native-passkeys",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"userInterfaceStyle": "light",
"newArchEnabled": true,
"splash": {
"image": "./assets/splash-icon.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"ios": {
"supportsTablet": true,
"bundleIdentifier": "com.<your_organization>.<your_app_name>",
"associatedDomains": [
"webcredentials:add_your_ngrok_domain_here?mode=developer"
],
"appleTeamId": "your_apple_team_id"
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "#ffffff"
},
"package": "com.<your_organization>.<your_app_name>"
},
"web": {
"favicon": "./assets/favicon.png"
},
"plugins": [
[
"expo-build-properties",
{
"ios": {
"deploymentTarget": "15.1"
},
"android": {
"compileSdkVersion": 34
}
}
]
]
}
}

0 comments on commit 8e2e3b8

Please sign in to comment.