Skip to content

Commit

Permalink
Merge pull request #50 from yssk22/develop
Browse files Browse the repository at this point in the history
[expo] add a note about AppCheck
  • Loading branch information
yssk22 authored Nov 10, 2023
2 parents f573d51 + 27700c2 commit 6dc1e06
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/expo/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ $ yarn eas secret:create --scope project --name DEV_GOOGLE_SERVICES_JSON --type
$ yarn eas secret:create --scope project --name DEV_GOOGLE_SERVICES_INFO_PLIST --type file --value ./config/dev/GoogleService-Info.plist
```

### Firebase AppCheck Configuration

If you use Firebase Authentication with AppCheck, you need to configure AppCheck on your firebase project [[ref](https://firebase.google.com/docs/app-check/ios/devicecheck-provider?authuser=0&hl=ja)].

### secrets.json

`secrets.json` is a file to define application specific configuratons which we don't want to share with others. You need to put it under `./config/$HPAPP_CONFIG_NAME/secrets.json` as well. The file is something like that.
Expand Down
2 changes: 1 addition & 1 deletion expo/features/root/context/relay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function createEnvironment(config: HttpClientConfig, userToken?: string) {
return json;
} catch (err) {
const benchmark = new Date().getTime() - start.getTime();
logging.Error(eventName, 'GraphQL error', {
logging.Error(eventName, `GraphQL error: ${(err as Error).message}`, {
request: {
body: {
query: operation.text,
Expand Down

0 comments on commit 6dc1e06

Please sign in to comment.