From e312af38752f97c0cb100b3d7445529aaad79def Mon Sep 17 00:00:00 2001 From: luis felipe de oliveira Date: Wed, 15 Dec 2021 22:32:50 -0300 Subject: [PATCH 1/3] Migrate maven repository from jcenter to mavenCentral --- android/build.gradle | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 0a599ce4a..1eb430977 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -4,7 +4,7 @@ version '1.0-SNAPSHOT' buildscript { repositories { google() - jcenter() + mavenCentral() } dependencies { @@ -19,7 +19,6 @@ rootProject.allprojects { } repositories { google() - jcenter() mavenCentral() maven { url 'https://api.mapbox.com/downloads/v2/releases/maven' From 5c94cef82e0d513464576914eb0423b9b059cf86 Mon Sep 17 00:00:00 2001 From: luis felipe de oliveira Date: Wed, 15 Dec 2021 22:34:03 -0300 Subject: [PATCH 2/3] Migrate maven repository from jcenter to mavenCentral --- example/android/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/android/build.gradle b/example/android/build.gradle index c0a595846..8ae8ba30a 100644 --- a/example/android/build.gradle +++ b/example/android/build.gradle @@ -1,7 +1,7 @@ buildscript { repositories { google() - jcenter() + mavenCentral() } dependencies { @@ -12,7 +12,7 @@ buildscript { allprojects { repositories { google() - jcenter() + mavenCentral() } } From 5d84816b963f7de4f1ea7377263f1f46dfbdb82b Mon Sep 17 00:00:00 2001 From: Felix Horvat Date: Thu, 13 Jan 2022 11:42:50 +0100 Subject: [PATCH 3/3] migrate to maven fix android embedding issue --- example/android/app/src/main/AndroidManifest.xml | 2 +- .../mapboxglexample/EmbeddingV1Activity.java | 16 ---------------- 2 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 example/android/app/src/main/java/com/mapbox/mapboxglexample/EmbeddingV1Activity.java diff --git a/example/android/app/src/main/AndroidManifest.xml b/example/android/app/src/main/AndroidManifest.xml index 32dd13477..865c8648e 100644 --- a/example/android/app/src/main/AndroidManifest.xml +++ b/example/android/app/src/main/AndroidManifest.xml @@ -5,7 +5,7 @@ diff --git a/example/android/app/src/main/java/com/mapbox/mapboxglexample/EmbeddingV1Activity.java b/example/android/app/src/main/java/com/mapbox/mapboxglexample/EmbeddingV1Activity.java deleted file mode 100644 index 790679e49..000000000 --- a/example/android/app/src/main/java/com/mapbox/mapboxglexample/EmbeddingV1Activity.java +++ /dev/null @@ -1,16 +0,0 @@ -package com.mapbox.mapboxglexample; - -import android.os.Bundle; - -import com.mapbox.mapboxgl.MapboxMapsPlugin; - -import io.flutter.app.FlutterActivity; - -public class EmbeddingV1Activity extends FlutterActivity { - - @Override - protected void onCreate(Bundle savedInstanceState) { - super.onCreate(savedInstanceState); - MapboxMapsPlugin.registerWith(registrarFor("com.mapbox.mapboxgl.MapboxMapsPlugin")); - } -} \ No newline at end of file