diff --git a/.github/scripts/generateCodeExamples.ts b/.github/scripts/generateCodeExamples.ts index 7d093ca5..ef314a5b 100644 --- a/.github/scripts/generateCodeExamples.ts +++ b/.github/scripts/generateCodeExamples.ts @@ -54,6 +54,7 @@ const repos = [ '/lib/safe.ts', '/lib/storage.ts', '/App.tsx', + '/app.json', '/.env-sample' ] } diff --git a/examples/react-native-passkeys/app.json b/examples/react-native-passkeys/app.json new file mode 100644 index 00000000..8d2af737 --- /dev/null +++ b/examples/react-native-passkeys/app.json @@ -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..", + "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.." + }, + "web": { + "favicon": "./assets/favicon.png" + }, + "plugins": [ + [ + "expo-build-properties", + { + "ios": { + "deploymentTarget": "15.1" + }, + "android": { + "compileSdkVersion": 34 + } + } + ] + ] + } +}