- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
08-02-2017 02:18 AM
Hi everybody,
we are going to develop with Tealium a new app which technology is Ionic 3, Angular 4 y Apache Cordova 7.
I have a doubt in order to explain to the developers how we must implement Tealium in the app about including the library, track a screen or track an event.
I understand that I need to use this plugin https://github.com/Tealium/cordova-plugin, but we need something more?
Thanks in advance.
Regards.
08-02-2017 03:30 AM
08-03-2017 03:43 AM
Thank you @craig_rouse!
I will send to the developers both cases: javascript implementation and the cordova plugin.
Regards.
08-03-2017 09:50 AM
08-09-2017 05:52 AM
@craig_rouse I have another question, if we have an application with Cordova without iOS or Tealium,
which plugin is neccesary: Tealium-cordova-plugin or Tealium-cordova-deviceonly?
it works with deviceonly although it hasn't got native code?
Regards.
08-09-2017 09:27 AM
08-10-2017 01:03 AM
@craig_rouse my doubt is if my application only have ionic, angular and cordova (without native code like iOS or Android).
For an app with only ionic, angular and cordova, which plugin we can use? it works with the 'device-only' plugin or we must use "tealium-cordova-plugin"? (we haven't got an ios app)
08-10-2017 08:29 AM - edited 08-10-2017 10:10 AM
@dm_e so you are not releasing your Ionic/Cordova app for iOS at all? If you are only releasing it for Android, then you can use either version of the plugin. The only difference is that if you are also releasing the app to the Apple store for iOS, the deviceonly build is required because it has the simulator support removed.
EDIT: @dm_e I just re-read your question, and I think you might have a slight misunderstanding about the way Cordova/Ionic works. Even if you write your app code 100% in JavaScript and HTML, the "container" for the app is still running native code. The Tealium plugin provides a JavaScript interface/wrapper around our native Android and iOS libraries, and if you submit the app to Apple without using the "deviceonly" plugin, they will reject your app.
If your developers are planning to use the iOS simulator to test the app, they will need to use the "tealium-cordova-plugin" version during the dev cycle, but they will need to switch to the "deviceonly" build before submitting to Apple. If they will not be using the simulator for testing, they can use the "deviceonly" build from the start.
Copyright All Rights Reserved © 2008-2023