Skip to content

Commit 7f40b16

Browse files
authored
Merge pull request #22 from OutSystems/fix/RMET-1373/fix-auth-skip-flow
Fix: Implementation of the skip flow in the authentication
2 parents d539085 + c6a0ed4 commit 7f40b16

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
66

77
## [Unreleased]
88

9+
## [2.0.13] - 2022-01-28
10+
### Fixes
11+
- Fix: Implementation of the skip flow in the authentication. (https://outsystemsrd.atlassian.net/browse/RMET-1373)
912
## [2.0.12] - 2022-01-05
1013
### Fixes
1114
- Fix: error opening apps after creating a PIN for the first time by updating dependency to secure storage. (https://outsystemsrd.atlassian.net/browse/RMET-1292)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "com.outsystems.plugins.SecureSQLiteBundle",
3-
"version": "2.0.12",
3+
"version": "2.0.13",
44
"description": "Bundle of SQLite related storage plugins and initialization code for easy use with the OutSystems Platform",
55
"cordova": {
66
"id": "com.outsystems.plugins.SecureSQLiteBundle",

plugin.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
33
xmlns:android="http://schemas.android.com/apk/res/android"
44
id="com.outsystems.plugins.SecureSQLiteBundle"
5-
version="2.0.12">
5+
version="2.0.13">
66

77
<name>Cordova OutSystems secure SQLite bundle</name>
88
<license>MIT</license>
@@ -15,7 +15,7 @@
1515
</js-module>
1616

1717
<dependency id="cordova-sqlcipher-adapter" url="https://github.com/OutSystems/cordova-sqlcipher-adapter.git#0.1.7-OS7" />
18-
<dependency id="cordova-plugin-secure-storage" url="https://github.com/OutSystems/cordova-plugin-secure-storage.git#2.6.8-OS8" />
18+
<dependency id="cordova-plugin-secure-storage" url="https://github.com/OutSystems/cordova-plugin-secure-storage.git#2.6.8-OS9" />
1919

2020
<dependency id="outsystems-plugin-disable-backup" url="https://github.com/OutSystems/outsystems-plugin-disable-backup.git#1.0.2" />
2121

www/outsystems-secure-sqlite-init.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@ function acquireLsk(successCallback, errorCallback) {
8282
});
8383
},
8484
function(error) {
85-
if (error.message === "Device is not secure") {
85+
if (error.message === "Authentication screen skipped") {
86+
navigator.app.exitApp();
87+
} else if (error.message === "Device is not secure") {
8688
Logger.logError("Device is not secure.", "SecureSQLiteBundle");
8789
if (window.confirm("In order to use this app, your device must have a secure lock screen. Press OK to setup your device.")) {
8890
ss.secureDevice(

0 commit comments

Comments
 (0)