Steps to reproduce
ignite doctor results:
platform darwin
arch x64
cpu 4 cores Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
directory ignite_demo /Users/ahmed/Projects/ignite_demo
JavaScript
node 12.14.0 /Users/ahmed/.nvm/versions/node/v12.14.0/bin/node
npm 6.13.4 /Users/ahmed/.nvm/versions/node/v12.14.0/bin/npm
yarn 1.21.1 /Users/ahmed/.nvm/versions/node/v12.14.0/bin/yarn
Ignite
ignite-cli 3.5.1 /Users/ahmed/.nvm/versions/node/v12.14.0/bin/ignite
ignite src build /Users/ahmed/.nvm/versions/node/v12.14.0/lib/node_modules/ignite-cli/build
navigation react-navigation
generators {"component":"ignite-bowser","model":"ignite-bowser","navigator":"ignite-bowser","screen":"ignite-bowser"}
createdWith 3.5.1
boilerplate ignite-bowser
boilerplateVersion 4.13.0
Android
java 12.0.2 /usr/bin/java
android home - /Users/ahmed/Library/Android/sdk
iOS
xcode 11.3.1
cocoapods 1.8.4 /usr/local/bin/pod
Found that the problem is due to missing steps in react-native-screens, and found the solution here https://github.com/react-navigation/react-navigation/issues/6267#issuecomment-528883756
thos 2 lines need to be added to the generated code i guess
@a-atalla this fixed it for me.
I also started a fresh build today and Android was crashing immediately.
@is343
https://github.com/react-navigation/react-navigation/issues/6897
add in android/app/bundle.grandle
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0"
Thanks for the issue _and_ for the problem, @a-atalla! I'll check that link and see what I can do :)
Most helpful comment
@is343
https://github.com/react-navigation/react-navigation/issues/6897
add in android/app/bundle.grandle