Demo: https://expo.io/@bacon/pillar-valley
Read about my process: https://blog.expo.io/building-a-connected-game-with-expo-f09295c512a9?source=linkShare-16b715de038f-1516680763
Add then create the Secret.js which will contain your firebase config.
touch ExpoParty/Secret.js
Then go to the Firebase Console and create a Web App.
Here is an example of what your Secret.js file should look like: This one totally works but eventually it'll hit the rate limit.
Secret.js
export default {
apiKey: 'AIzaSyAfgPq82VdNqEZ8hqnOvYdD7kSPiFK9W1k',
authDomain: 'keira-knightley-51df6.firebaseapp.com',
databaseURL: 'https://keira-knightley-51df6.firebaseio.com',
projectId: 'keira-knightley-51df6',
storageBucket: 'keira-knightley-51df6.appspot.com',
messagingSenderId: '628588079444',
};
Now you can install the packages and run the expo project! ๐๐๐
yarn && exp start
You can play in any browser here ๐ Cyber Web
The lovely iOS version can be found here ๐ App Store
The beautiful Android version can be found here ๐ Play Store.