Console logs in Release mode React native IOS
v0.63 and up Go to xcode, CMD + Shift + O, search for RCTLog.mm Look for the block below: and change it to
v0.63 and up Go to xcode, CMD + Shift + O, search for RCTLog.mm Look for the block below: and change it to
I had to download a file and didn’t want it to be saved (I will tell the purpose in later article). I wanted that whatever the contents that I receive are discarded. Initially Axios was being used for the same thing. But it is better for AJAX requests because they are lightweight and not much … Read more
If you want to add PAD to your react native app, then it is the right place. It is the demonstration for the install-time asset delivery and not ‘on demand’ one. First read article: Android Developers Blog: Introducing Google Play Asset Delivery (googleblog.com) Next thing do all the settings as described in: Integrate asset delivery … Read more
In react native if you want to list all the assets (base directory files and folder), use the following in the onCreate method of MainApplication.java
Today I faced an issue, where I had an array in a schema. After reading the record from realm database, I was converting that record to a JSON manually (We should generally use the toJSON method provided realmJS). I had copied all the values into a new object but assigned an array as it is … Read more
Ideally you should do not it. But some Android APIs may need code to be run on main thread. e.g. MediaRouter In that you can use following way to run the code on main thread. Cheers and Peace out !!!