![]() ![]() In our case, the host app will be able to write the JSX code that can invoke the Marketo SDK’s methods. React Native bridge is used for communicating between the JSX and native app layers. If React Native doesn’t export a native API that your JS app needs you should be able to export it yourself! While we don’t expect this feature to be part of the usual development process, it is essential that it exists. The NativeModule system exposes instances of Java/Objective-C/C++ (native) classes to JavaScript (JS) as JS objects, thereby allowing you to execute arbitrary native code from within JS. ![]() Maybe you want to reuse some existing Objective-C, Swift, Java or C++ libraries without having to reimplement it in JavaScript, or write some high performance, multi-threaded code for things like image processing. Sometimes a React Native app needs to access a native platform API that is not available by default in JavaScript, for example the native APIs to access Apple or Google Pay. (Inside iOS folder of the ReactNative project) To download and install it, launch the terminal on your Mac and run the following command on it: We will provide steps on how to use CocaPods to get Marketo’s iOS SDK and use the SDK in your app. Perform the following steps to set it up in your app’s Xcode project using CocoaPods, so that you can integrate our platform with your app.ĭownload CocoaPods – Distributed as a Ruby gem, is a dependency manager for Objective-C and Swift that simplifies the process of using third-party libraries in your code, such as the iOS SDK that we provide. Before you create a bridge for your React Native project, It’s important that you set up our SDK in your Xcode project. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |