Inofficial app to follow Marshall Goldsmith's 6 Daily Questions from his book Triggers.
Check the Readme of You are Awesome App! Daily Motivation Up! on how to debug and much more.
yarn install --frozen-lockfile
yarn dev
Warning: At least for me on Ubuntu 22 with Expo 49 and 50, I was not able to run the app inside Expo Go on an Android Emulator. However, using an actual device with Expo Go (v2.30.8) installed everything works just fine, as long as you're on the same wifi network.
See also EAS Build Guide.
yarn eas login
# verify you're logged in
yarn eas whoami
# build and deploy
yarn eas:build
# submit to Google Playstore
# configure via eas.json
yarn eas:submit
# DEBUG: https://github.com/expo/fyi/blob/main/eas-build-archive.md
# complete rebuild
yarn build-and-publish:expo:android:app-bundle:prod
# or alternatively do an OTA update
yarn deploy:ota:prod
java -jar bundletool.jar build-apks --bundle=daily-questions-signed.aab --output=daily-questions.apks --mode=universal
java -jar bundletool.jar install-apks --apks=daily-questions.apks
To speed up development, it is sometimes possible to build an apk without using the expo build services (Turtle). This may require some setup (like Android Studio and maybe more).
yarn build:local
A non-serializable value was detected in an action, in the path: `payload`. Value:, Class {
"_dispatchInstances": FiberNode {
...
SerializableStateInvariantMiddleware took 64ms, which is more than the warning threshold of 32ms.
...
You probably use some code like this
<Button mode="outlined" onPress={clearHistory}>
Clear history
</Button>
where clearHistory
is an action creator injected using react-redux' connect
and mapDispatch
.
onPress
seems to implicitely pass some argument to the function. So to fix the warning, explicitely ignore the argument and call your function without it like so
<Button mode="outlined" onPress={() => clearHistory()}>
Clear history
</Button>
Code is licensed under MIT. Files under /assets/
are NOT licensed under MIT. You may clone or forge the repository with the assets included but please do not distribute your app using the same images and logos. Thank you :)