After some research I found some information about how to add a third party android libraries in Ionic framework. Apparently we can add and use .aar files in Ionic projects. My question is that if I include an .aar file, will project still be a cross platform? Can iOS devices run it?
Ionic third party libraries
1.3k Views Asked by Ali Barış Uzuner At
1
There are 1 best solutions below
Related Questions in IONIC-FRAMEWORK
- Firebase link existing user to anonymous account?
- Ionic Angular Standalone ion-icon are not showing at all
- Unable to run ionic app on Android emulator - [error] ADBs is unresponsive after 5000ms
- How should I filter Observables the "Right Way" with RxJs in Angular 17?
- Ionic/Capacitor: Background Location Tracking on iOS and Android?
- Best Approach for Implementing Video Selection from Gallery/Files in Ionic-React with Capacitor
- <video> tag with downloaded path in ionic ios not loads the video
- How do I record that this ionic checkbox has been checked by the user?
- Ionic 5 angular sharing a component between two modules
- mergeDebugResources FAILED
- Issue saving generated image to local filesystem in iOS using Capacitor
- Detect clickable areas within <img> tag in Ionic project
- Whitelisting Ionic app in Salesforce Org for CORS/CSP
- How to Polyfill node core modules in webpack 5 using ionic capacitor angular
- I'm developing an Android, but I can't see my "console.log" in logcat
Related Questions in CORDOVA-PLUGIN-PROGUARD
- I am facing the issue of Unsupported version number [61.0] (maximum 57.0, Java 13) during a build in my ORACLE linux 7 how to resolve this?
- Which library is the best to obfuscate code in ionic?
- Unable to start activity ComponentInfo{io.ionic.starter/io.ionic.starter.MainActivity} on ionic
- Ionic Cordova Android App Minify APK using ProGuard
- Ionic 3 proguard can not obfuscating anything?
- Execution failed for task ':app:minifyReleaseWithR8'.java.lang.NullPointerException (no error message)
- Can't resolve error: package android.support.design.widget does not exist issue
- Android App crashes after proguard obfuscation using Ionic3
- How to obfuscate cordova plugin java code
- How to generate 64 bit apk for ionic 1 application
- Why do I get the error: 82: Invalid variable name. Must start with a letter but was: ‘proguard
- Unable to start activity ComponentInfo java.lang.RuntimeException: Failed to create webview
- Ideas on how to optimize Ionic 3 App on Older Devices
- how i can prevent ionic app from reverse engineering?
- after installing ionic cordova plugin add cordova-plugin-fcm-with-dependecy-updated my android built not working
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
As per my understanding you want to use library which is basically written in Native Android/iOS.
So next question is how to call native code or library in Hybrid app?
To call native code from Javascript we need Cordova plugin which will communicate from Hybrid app -> Native Code & Native Code -> Hybrid app.
Cordova provides lots of default plugins like below:
So these plugin mainly used for utilise native app framework like
for SQLite DB storage we used
cordova-sqlite-storagepluginfor Splash screen we used
cordova-plugin-splashscreenplugin and so on ...so next question is What is a Cordova plugin?
So if you want to use your .aar file you need to build custom plugin.
This .aar file will be used for Android, for iOS you need to search related framework.
Hope this will helps to understand all the In & Out in hybrid app.
Useful links :
Ionic Native
How to write custom plugin?
How to use cordova custom plugin?