I am interested in implementing DeepLinking in my hybrid application using ionic-native. Currently, I have a functioning project with an SQLite database that has been tested on both iOS and Android platforms. However, when I include ionic.native
in my app module, it results in an error.
Here is a snippet of my code:
app.module:
angular.module('myApp', ['ionic', 'ionic.native'])
app.run: the openDB function can be found at app.js:207
ionic.Platform.ready(function () {
db = $cordovaSQLite.openDB({name: 'my.db', location: 'default'});
});
Error: Uncaught TypeError: undefined is not a function. app.js:207
You can find more information about ionic deep linking in this blog post as well as the Ionic deep linking plugin docs for Ionic/Angular 1.
It seems like the issue might be related to the plugin list of ionic-native since it includes SQLite among other plugins.