Skip to content

Need to import a Native Library into Titanium #14015

Answered by m1ga
FizixTiramu asked this question in Q&A
Discussion options

You must be logged in to vote

You can create new Android/iOS modules for Titanium that use external modules:
https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Extending_Titanium_Mobile/Android_Module_Development_Guide/Android_Module_Quick_Start.html

It just depends on if and how they provide access to their module. Many Android modules can be included in gradle like this:

dependencies {
  implementation 'com.airbnb.android:lottie:$lottieVersion'
}

and then you can use their code in your custom Titanium module. You expose methods, properties, events,... and then you can use it in Titanium. Here is another tutorial: https://www.fromzerotoapp.com/create-android-modules-for-titanium/

But that requires you t…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by FizixTiramu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants