Posts

Showing posts from 2016

How to build an apk with React Native

Image
For the last couple of days , I am trying to build an apk with this new React Native in order to show the app to other people that I created with this new technology. The official react documentation states how I should build an signed apk. At first I thought it will be a pain in the ass to build a signed apk. So I go for building an unsigned apk in order to bypass the process of generating a key or keystore or stuffs like that. As a result I was able to build an apk which is not installable on android phone. Every time I try to install the apk , "This app can not be installed" was smiling at me. I scratched my head trying to figure out what was going on, then I came across to android's official documentation  about signing your apk. It clearly states that you must have your apk signed either in debug mode or in release mode in order to install the apk on the device. Here's what this documentation says, " Android requires that all apps be digitally signed wi...