@aigens/aigens-sdk-core 0.0.34 → 0.0.35
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.
@@ -104,6 +104,7 @@ public class WebContainerActivity extends BridgeActivity {
|
|
104
104
|
if (perviousIntent != null) {
|
105
105
|
Map member = (Map) perviousIntent.getSerializableExtra("member");
|
106
106
|
universalLink = (String) member.get("universalLink");
|
107
|
+
universalLink = universalLink.trim();
|
107
108
|
}
|
108
109
|
if (universalLink != null && totalUrl.startsWith(universalLink) && totalUrl.indexOf("redirect=") >= 0) {
|
109
110
|
redirectUrl = totalUrl.split("redirect=")[1];
|
@@ -135,15 +136,12 @@ public class WebContainerActivity extends BridgeActivity {
|
|
135
136
|
Intent intent = getIntent();
|
136
137
|
|
137
138
|
if (redirectUrl != null && !redirectUrl.equals("") && WebContainerActivity.perviousIntent != null) {
|
138
|
-
perviousIntent.putExtra("url", redirectUrl);
|
139
|
-
intent = perviousIntent;
|
139
|
+
WebContainerActivity.perviousIntent.putExtra("url", redirectUrl);
|
140
|
+
intent = WebContainerActivity.perviousIntent;
|
140
141
|
currentInstanceState = WebContainerActivity.perviousInstanceState;
|
141
|
-
WebContainerActivity.perviousIntent = null;
|
142
|
-
WebContainerActivity.perviousInstanceState = null;
|
143
|
-
} else {
|
144
|
-
WebContainerActivity.perviousIntent = intent;
|
145
|
-
WebContainerActivity.perviousInstanceState = currentInstanceState;
|
146
142
|
}
|
143
|
+
WebContainerActivity.perviousIntent = intent;
|
144
|
+
WebContainerActivity.perviousInstanceState = currentInstanceState;
|
147
145
|
|
148
146
|
|
149
147
|
this.url = intent.getStringExtra("url");
|