|
@@ -194,7 +194,7 @@ public class FlutterAlibcHandle { |
|
|
@Override |
|
|
@Override |
|
|
public void onSuccess(int i, String s, String s1) { |
|
|
public void onSuccess(int i, String s, String s1) { |
|
|
Log.d("阿里百川打开WebView", "webview"); |
|
|
Log.d("阿里百川打开WebView", "webview"); |
|
|
Intent intent = new Intent(register.activity(), WebActivity.class); |
|
|
|
|
|
|
|
|
Intent intent = new Intent(register.context(), WebActivity.class); |
|
|
intent.putExtra("url", (String) call.argument("url")); |
|
|
intent.putExtra("url", (String) call.argument("url")); |
|
|
register.activity().startActivity(intent); |
|
|
register.activity().startActivity(intent); |
|
|
} |
|
|
} |
|
@@ -206,7 +206,7 @@ public class FlutterAlibcHandle { |
|
|
}); |
|
|
}); |
|
|
} else { |
|
|
} else { |
|
|
Log.d("阿里百川打开WebView", "webview"); |
|
|
Log.d("阿里百川打开WebView", "webview"); |
|
|
Intent intent = new Intent(register.activity(), WebActivity.class); |
|
|
|
|
|
|
|
|
Intent intent = new Intent(register.context(), WebActivity.class); |
|
|
intent.putExtra("url", (String) call.argument("url")); |
|
|
intent.putExtra("url", (String) call.argument("url")); |
|
|
register.activity().startActivity(intent); |
|
|
register.activity().startActivity(intent); |
|
|
} |
|
|
} |
|
|