Version 1.0.1 - Fixes to the authentication flow.
This commit is contained in:
parent
7ce057e910
commit
07fdc36434
|
@ -6,8 +6,8 @@ android {
|
||||||
applicationId "org.tainacan.mobileapp"
|
applicationId "org.tainacan.mobileapp"
|
||||||
minSdkVersion rootProject.ext.minSdkVersion
|
minSdkVersion rootProject.ext.minSdkVersion
|
||||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||||
versionCode 1
|
versionCode 2
|
||||||
versionName "1.0"
|
versionName "1.0.1"
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
aaptOptions {
|
aaptOptions {
|
||||||
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
|
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?xml version='1.0' encoding='utf-8'?>
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
<resources>
|
<resources>
|
||||||
<string name="app_name">Tainacan</string>
|
<string name="app_name">Tainacan</string>
|
||||||
<string name="title_activity_main">tainacan-mobile</string>
|
<string name="title_activity_main">Tainacan Mobile</string>
|
||||||
<string name="package_name">org.tainacan.mobileapp</string>
|
<string name="package_name">org.tainacan.mobileapp</string>
|
||||||
<string name="custom_url_scheme">org.tainacan.mobileapp</string>
|
<string name="custom_url_scheme">org.tainacan.mobileapp</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
<!doctype html><html lang="en"><head><meta charset="utf-8"/><title>Ionic App</title><base href="/"/><meta name="color-scheme" content="light dark"/><meta name="viewport" content="viewport-fit=cover,width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/><meta name="format-detection" content="telephone=no"/><meta name="msapplication-tap-highlight" content="no"/><link rel="shortcut icon" type="image/png" href="/assets/icon/favicon.png"/><meta name="apple-mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-title" content="Ionic App"/><meta name="apple-mobile-web-app-status-bar-style" content="black"/><script defer="defer" src="/js/chunk-vendors.bd229e35.js"></script><script defer="defer" src="/js/app.ba3e8dbe.js"></script><link href="/css/app.908e70a8.css" rel="stylesheet"></head><body><div id="app"></div></body></html>
|
<!doctype html><html lang="en"><head><meta charset="utf-8"/><title>Ionic App</title><base href="/"/><meta name="color-scheme" content="light dark"/><meta name="viewport" content="viewport-fit=cover,width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/><meta name="format-detection" content="telephone=no"/><meta name="msapplication-tap-highlight" content="no"/><link rel="shortcut icon" type="image/png" href="/assets/icon/favicon.png"/><meta name="apple-mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-title" content="Ionic App"/><meta name="apple-mobile-web-app-status-bar-style" content="black"/><script defer="defer" src="/js/chunk-vendors.bd229e35.js"></script><script defer="defer" src="/js/app.91c68aa3.js"></script><link href="/css/app.908e70a8.css" rel="stylesheet"></head><body><div id="app"></div></body></html>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -137,7 +137,7 @@ export default {
|
||||||
userLogin,
|
userLogin,
|
||||||
userToken
|
userToken
|
||||||
);
|
);
|
||||||
this.$router.push("/home");
|
this.$router.replace("/home");
|
||||||
}
|
}
|
||||||
this.wpStore.inAppBrowser.hide();
|
this.wpStore.inAppBrowser.hide();
|
||||||
}
|
}
|
||||||
|
|
|
@ -56,6 +56,7 @@ const useWpStore = defineStore("wp", {
|
||||||
this.userSiteUrl = "";
|
this.userSiteUrl = "";
|
||||||
this.userToken = "";
|
this.userToken = "";
|
||||||
this.userToken = "";
|
this.userToken = "";
|
||||||
|
this.inAppBrowser.close();
|
||||||
delete this.inAppBrowser;
|
delete this.inAppBrowser;
|
||||||
//console.error("Erro no logoff:", err);
|
//console.error("Erro no logoff:", err);
|
||||||
return err;
|
return err;
|
||||||
|
|
Loading…
Reference in New Issue