@aigens/aigens-sdk-core 0.4.3 → 0.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -124,11 +124,12 @@ public class WebContainerActivity extends BridgeActivity {
|
|
124
124
|
// Log.i("getRedirectUrl", totalUrl);
|
125
125
|
if (redirectUrl != null) {
|
126
126
|
redirectUrl = this.decodeURIComponent(redirectUrl);
|
127
|
+
Log.i("Jason redirectUrl", redirectUrl);
|
127
128
|
}
|
128
|
-
if (!redirectUrl.startsWith("http://") && !redirectUrl.startsWith("https://")) {
|
129
|
+
if (redirectUrl != null && !redirectUrl.startsWith("http://") && !redirectUrl.startsWith("https://")) {
|
129
130
|
redirectUrl = "https://" + redirectUrl;
|
130
131
|
}
|
131
|
-
|
132
|
+
|
132
133
|
return redirectUrl;
|
133
134
|
} else {
|
134
135
|
// Log.i("getRedirectUrl", "null");
|