React Native and Gradle

What is Gradle ? In very simple terms Gradle, as the name might suggest, is a build platform for your App. So what ? Well just like everything in React-Native it is version specific and when you create your APP you’ll get the default ‘old’ version Gradle build style. When you open your new App with Android Studio you do get prompted to upgrade – Don’t for now or when/if you do….. Old vs New For most APPs this should

Continue Reading

Remove a Library from React-Native

Added in a new library and your App won’t build ? Assuming you’ve just added in a new lib with npm or yarn and run react-native link : You rue the day and this lib has screwed up your App; I could mention a few but some of them [Maps…ummm] really do mess up your build, so you want to remove this module. Remove the code from node_modules with npm uninstall.... Re-run react-native link But the damn lib links are still

Continue Reading

React-Native with icon libraries

This assumes that you are NOT using Android Studio In my case, I added in two extra libraries: import LinearGradient from 'react-native-linear-gradient'; import MaterialIcons from 'react-native-vector-icons/MaterialIcons'; Nothing odd there and their npm or package.JSON requirements are very simple: "native-base": "^2.4.1", "react-native-linear-gradient": "^2.4.0", "react-native-vector-icons": "^4.5.0" I happen to use Nativebase as a very good UI framework [https://docs.nativebase.io] but there are others. The important point here is that after you have installed these with npm [or yarn] and carry on with your

Continue Reading

React-Native Live Debugging and adb

adb.exe is the Android Debugger Assuming you followed the last tutorial and all was well [ish], there is one further consideration and once again it all comes down to our enemy of versions ! The Android SDK and the adb You should have two additions to your system with the Java SDK and Android a. an environment var called JAVA_HOME - ...\Program Files\Java\sdk1.8... b. in PATH - C:\Users\User-Name\AppData\Local\Android\sdk\platform-tools Double check the above first; it’s the PATH that we are interested

Continue Reading

React-Native with Windows 10 and XE Player

Pre-Amble When it comes to creating great Apps [real Native ones] in 2018, the defacto choice is React-Native, but before you can get down to development you need a productive IDE to make this happen. This is how you do it and more importantly with all the latest releases [March 2018]. React-Native: V. 0.54.x Windows: 10 build 1709 XE Player: 3.8.x running Android 4.4.x [a.k.a. KitKat] You don’t need an i7 with 16Gb of RAM Well you sort of do,

Continue Reading

Site Footer