my fork of the bluesky client

Add example google-services file (#1545)

* Add example google-services file

* Update build.md

authored by Gabriel Donadel Dall'Agnol and committed by GitHub 3e340b33 65b83e0d

+2
docs/build.md
··· 8 8 - brew tap wix/brew 9 9 - brew install applesimutils 10 10 - After initial setup: 11 + - Copy `google-services.json.example` to `google-services.json` or provide your own `google-services.json`. (A real firebase project is NOT required) 11 12 - `npx expo prebuild` -> you will also need to run this anytime `app.json` or native `package.json` deps change 12 13 - Start the dev servers 13 14 - `git clone git@github.com:bluesky-social/atproto.git` ··· 119 120 dist/bundles/main.jsbundle dist/bundles/ios-<hash>.map` 120 121 121 122 ### OTA updates 123 + 122 124 To create OTA updates, run `eas update` along with the `--branch` flag to indicate which branch you want to push the update to, and the `--message` flag to indicate a message for yourself and your team that shows up on https://expo.dev. ALl the channels (which make up the options for the `--branch` flag) are given in `eas.json`. [See more here](https://docs.expo.dev/eas-update/getting-started/) 123 125 124 126 The clients which can receive an OTA update is governed by the `runtimeVersion` property in `app.json`. Right now, it is set so that only apps with the same `appVersion` (same as `version` property in `app.json`) can receive the update and install it. However, we can manually set `"runtimeVersion": "1.34.0"` or anything along those lines as well. This is useful if very little native code changes from update-to-update. If we are manually setting `runtimeVersion`, we should increment the version each time native code is changed. [See more here](https://docs.expo.dev/eas-update/runtime-versions/)
+41
google-services.json.example
··· 1 + { 2 + "project_info": { 3 + "project_id": "blueskyweb-example", 4 + "project_number": "100000000000", 5 + "firebase_url": "https://blueskyweb-example.firebaseio.com" 6 + }, 7 + "client": [ 8 + { 9 + "client_info": { 10 + "mobilesdk_app_id": "1:123456789000:android:f1bf012572b04063", 11 + "android_client_info": { 12 + "package_name": "xyz.blueskyweb.app" 13 + } 14 + }, 15 + "oauth_client": [ 16 + { 17 + "client_id": "123456789000.apps.googleusercontent.com", 18 + "client_type": 3 19 + } 20 + ], 21 + "api_key": [ 22 + { 23 + "current_key": "123456789000" 24 + } 25 + ], 26 + "services": { 27 + "analytics_service": { 28 + "status": 1 29 + }, 30 + "appinvite_service": { 31 + "status": 1, 32 + "other_platform_oauth_client": [] 33 + }, 34 + "ads_service": { 35 + "status": 2 36 + } 37 + } 38 + } 39 + ], 40 + "configuration_version": "1" 41 + }