I am quite new to the react-native world. And so far i have not picked up on how to create an apk (i assume ipa would be similar) yet. I know there are some documentation entries and a lot of other questions that seem to answer that, but none of them works for me.
So the basic use case i would be interested in is building an apk for the demo application. Following the getting started i would do
create-react-native-app MyProject
Now i am able to start the packager and server and use expo. Perfect. But i want to build the apk now. All answers i found are either done via some kind of cd android && ./gradlew build, but there is no android folder in the application (apparently because expo takes care of it for non ejected apps). The other way would maybe to use expo, but i am running into errors all the way long. And as in the getting started guide expo is not directly mentioned, rather the npm commands it might not be the way to go.
I know about https://facebook.github.io/react-native/releases/0.19/docs/signed-apk-android.html which requires the android folder. Also the curl version mentioned i.e. here https://github.com/facebook/react-native/issues/2943 which does not to the trick as well as all the methods in How to build react native android app for production?.