File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1414 <clobbers target =" OutSystemsSecureSQLiteBundle" />
1515 </js-module >
1616
17- <dependency id =" cordova-sqlcipher-adapter" url =" https://github.com/OutSystems/cordova-sqlcipher-adapter.git" commit = " 0.1.7-OS5 " />
18- <dependency id =" cordova-plugin-secure-storage" url =" https://github.com/OutSystems/cordova-plugin-secure-storage.git" commit = " 2.6.8-OS5" />
17+ <dependency id =" cordova-sqlcipher-adapter" url =" https://github.com/OutSystems/cordova-sqlcipher-adapter.git# 0.1.7-OS6 " />
18+ <dependency id =" cordova-plugin-secure-storage" url =" https://github.com/OutSystems/cordova-plugin-secure-storage.git# 2.6.8-OS5" />
1919
20- <dependency id =" outsystems-plugin-disable-backup" url =" https://github.com/OutSystems/outsystems-plugin-disable-backup.git" commit =" 1.0.2" />
21- <dependency id =" com.outsystems.plugins.logger" />
20+ <dependency id =" outsystems-plugin-disable-backup" url =" https://github.com/OutSystems/outsystems-plugin-disable-backup.git#1.0.2" />
2221
2322 <engines >
2423 <engine name =" cordova" version =" >=6.4.0" />
Original file line number Diff line number Diff line change 11// Force dependency load
22var SQLiteCipher = require ( 'cordova-sqlcipher-adapter.SQLitePlugin' ) ;
33var SecureStorage = require ( 'cordova-plugin-secure-storage.SecureStorage' ) ;
4- var Logger = require ( 'com.outsystems.plugins.logger.OSLogger' ) ;
54
5+ var Logger = ! ! OutSystemsNative ? OutSystemsNative . Logger : undefined ;
6+ if ( typeof ( Logger ) === "undefined" ) {
7+ throw new Error ( "Dependencies were not loaded correctly: OutSystemsNative.Logger is not defined." ) ;
8+ }
69// Validate SQLite plugin API is properly set
710if ( typeof ( window . sqlitePlugin ) === "undefined" ) {
811 throw new Error ( "Dependencies were not loaded correctly: window.sqlitePlugin is not defined." ) ;
You can’t perform that action at this time.
0 commit comments