diff --git a/app/src/main/java/org/mapcomplete/MainActivity.java b/app/src/main/java/org/mapcomplete/MainActivity.java index 738f3a4b..eea352f4 100644 --- a/app/src/main/java/org/mapcomplete/MainActivity.java +++ b/app/src/main/java/org/mapcomplete/MainActivity.java @@ -47,6 +47,7 @@ public class MainActivity extends BridgeActivity { // We got a request - open the browser on 'app.mapcomplete.org/land' to login in the browser, then pass the token along Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://app.mapcomplete.org/land.html")); startActivity(browserIntent); + pluginCall.resolve(); // We simply resolve without anythin }); Databridge.addResponder("request:login", pluginCall -> { // We got a request - open the browser on 'app.mapcomplete.org/land' to login in the browser, then pass the token along