Use Objective C, Swift and Java api’s in NativeScript for Angular iOS and Android apps
We will cover some considerations with Objective C and Swift based libraries as well as Java/Android libraries. You can think of CocoaPod, Gradle, and Android Arsenal like npm for native libs. iOS libraries can be found via CocoaPods, Android libraries can be found via Gradle or Android Arsenal.
Let’s also cover how to write custom view components based on native libs since there are considerations for both iOS and Android. Lastly we will learn how to best handle cases where a plugin/library only supports 1 platform.
Prepare for native iOS and Android api intellisense with NativeScript
Use an Objective C library in NativeScript for Angular iOS app
Use Objective C Delegates in NativeScript for Angular iOS apps
Generate metadata TypeScript declarations for Objective C/Swift libraries on iOS
Use an Android library in NativeScript for Angular using Java apis
Translate common Java/Android APIs into NativeScript for Angular Android apps
Develop a consistent plugin api across your Android and iOS NativeScript app
Convert a Swift library to NativeScript for Angular iOS apps
Build a custom NativeScript view component for iOS
Build a custom NativeScript view component for Android
Develop a public NativeScript plugin using the nativescript-plugin-seed
Conditionally require a NativeScript plugin when only a single platform is supported