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 14
14
<clobbers target =" OutSystemsSecureSQLiteBundle" />
15
15
</js-module >
16
16
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" />
19
19
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" />
22
21
23
22
<engines >
24
23
<engine name =" cordova" version =" >=6.4.0" />
Original file line number Diff line number Diff line change 1
1
// Force dependency load
2
2
var SQLiteCipher = require ( 'cordova-sqlcipher-adapter.SQLitePlugin' ) ;
3
3
var SecureStorage = require ( 'cordova-plugin-secure-storage.SecureStorage' ) ;
4
- var Logger = require ( 'com.outsystems.plugins.logger.OSLogger' ) ;
5
4
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
+ }
6
9
// Validate SQLite plugin API is properly set
7
10
if ( typeof ( window . sqlitePlugin ) === "undefined" ) {
8
11
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