momo
momo

Reputation: 3474

Embedded NativeScript on a native iOS/Android app

I have to develop an app for iOS and Android and it has to be able to run embedded in existing apps. I would usually do this with Cordova since it takes care of the multiple platforms and it is easy to embed in an existing app by creating a Cordova WebView.

Since this app is making heavy use of animations I have been playing around with NativeScript in order to avoid the bad performance of this kind of UI running on a WebView.

The problem is that it seems that embedding a NativeScript app in a native app is not straightforward at all. I have found this https://groups.google.com/forum/m/#!msg/nativescript/4kDFcX6gtxA/vdjruLLVBQAJ Is this still true? Any suggestions or ideas on how to accomplish this?

Upvotes: 2

Views: 436

Answers (1)

Vladimir Enchev
Vladimir Enchev

Reputation: 915

You can check this sample for iOS: https://github.com/NativeScript/sample-ios-embedded

We will provide soon similar for Android

[UPDATE] Here is how to use {N} in existing Android app: https://github.com/NativeScript/sample-android-runtime-embedded-POC

Upvotes: 5

Related Questions