When building with deprecation linting enabled, I noticed these:
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/OnInfoWindowTappedListener.java:7: warning: [deprecation] Marker in com.mapbox.mapboxsdk.annotations has been deprecated
import com.mapbox.mapboxsdk.annotations.Marker;
^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/MapboxMapsPlugin.java:22: warning: [deprecation] Registrar in PluginRegistry has been deprecated
import io.flutter.plugin.common.PluginRegistry.Registrar;
^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/GlobalMethodHandler.java:35: warning: [deprecation] Registrar in PluginRegistry has been deprecated
private PluginRegistry.Registrar registrar;
^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/GlobalMethodHandler.java:43: warning: [deprecation] Registrar in PluginRegistry has been deprecated
GlobalMethodHandler(@NonNull PluginRegistry.Registrar registrar) {
^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/OnInfoWindowTappedListener.java:10: warning: [deprecation] Marker in com.mapbox.mapboxsdk.annotations has been deprecated
void onInfoWindowTapped(Marker marker);
^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/MapboxMapController.java:386: warning: [deprecation] activateLocationComponent(Context,Style,LocationComponentOptions) in LocationComponent has been deprecated
locationComponent.activateLocationComponent(context, style, locationComponentOptions);
^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/MapboxMapsPlugin.java:89: warning: [deprecation] Registrar in PluginRegistry has been deprecated
public static void registerWith(Registrar registrar) {
^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/LayerPropertyConverter.java:25: warning: [deprecation] JsonParser() in JsonParser has been deprecated
final JsonParser parser = new JsonParser();
^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/LayerPropertyConverter.java:28: warning: [deprecation] parse(String) in JsonParser has been deprecated
final JsonElement jsonElement = parser.parse(entry.getValue());
^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/LayerPropertyConverter.java:214: warning: [deprecation] JsonParser() in JsonParser has been deprecated
final JsonParser parser = new JsonParser();
^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/LayerPropertyConverter.java:217: warning: [deprecation] parse(String) in JsonParser has been deprecated
final JsonElement jsonElement = parser.parse(entry.getValue());
^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/LayerPropertyConverter.java:270: warning: [deprecation] JsonParser() in JsonParser has been deprecated
final JsonParser parser = new JsonParser();
^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/LayerPropertyConverter.java:273: warning: [deprecation] parse(String) in JsonParser has been deprecated
final JsonElement jsonElement = parser.parse(entry.getValue());
^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/LayerPropertyConverter.java:338: warning: [deprecation] JsonParser() in JsonParser has been deprecated
final JsonParser parser = new JsonParser();
^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/LayerPropertyConverter.java:341: warning: [deprecation] parse(String) in JsonParser has been deprecated
final JsonElement jsonElement = parser.parse(entry.getValue());
^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/LayerPropertyConverter.java:382: warning: [deprecation] JsonParser() in JsonParser has been deprecated
final JsonParser parser = new JsonParser();
^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/LayerPropertyConverter.java:385: warning: [deprecation] parse(String) in JsonParser has been deprecated
final JsonElement jsonElement = parser.parse(entry.getValue());
^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/LayerPropertyConverter.java:426: warning: [deprecation] JsonParser() in JsonParser has been deprecated
final JsonParser parser = new JsonParser();
^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/LayerPropertyConverter.java:429: warning: [deprecation] parse(String) in JsonParser has been deprecated
final JsonElement jsonElement = parser.parse(entry.getValue());
^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/MapboxMapBuilder.java:26: warning: [deprecation] MapboxMapOptions() in MapboxMapOptions has been deprecated
private final MapboxMapOptions options = new MapboxMapOptions()
^
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
When building with deprecation linting enabled, I noticed these:
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/OnInfoWindowTappedListener.java:7: warning: [deprecation] Marker in com.mapbox.mapboxsdk.annotations has been deprecated import com.mapbox.mapboxsdk.annotations.Marker; ^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/MapboxMapsPlugin.java:22: warning: [deprecation] Registrar in PluginRegistry has been deprecated import io.flutter.plugin.common.PluginRegistry.Registrar; ^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/GlobalMethodHandler.java:35: warning: [deprecation] Registrar in PluginRegistry has been deprecated private PluginRegistry.Registrar registrar; ^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/GlobalMethodHandler.java:43: warning: [deprecation] Registrar in PluginRegistry has been deprecated GlobalMethodHandler(@NonNull PluginRegistry.Registrar registrar) { ^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/OnInfoWindowTappedListener.java:10: warning: [deprecation] Marker in com.mapbox.mapboxsdk.annotations has been deprecated void onInfoWindowTapped(Marker marker); ^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/MapboxMapController.java:386: warning: [deprecation] activateLocationComponent(Context,Style,LocationComponentOptions) in LocationComponent has been deprecated locationComponent.activateLocationComponent(context, style, locationComponentOptions); ^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/MapboxMapsPlugin.java:89: warning: [deprecation] Registrar in PluginRegistry has been deprecated public static void registerWith(Registrar registrar) { ^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/LayerPropertyConverter.java:25: warning: [deprecation] JsonParser() in JsonParser has been deprecated final JsonParser parser = new JsonParser(); ^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/LayerPropertyConverter.java:28: warning: [deprecation] parse(String) in JsonParser has been deprecated final JsonElement jsonElement = parser.parse(entry.getValue()); ^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/LayerPropertyConverter.java:214: warning: [deprecation] JsonParser() in JsonParser has been deprecated final JsonParser parser = new JsonParser(); ^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/LayerPropertyConverter.java:217: warning: [deprecation] parse(String) in JsonParser has been deprecated final JsonElement jsonElement = parser.parse(entry.getValue()); ^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/LayerPropertyConverter.java:270: warning: [deprecation] JsonParser() in JsonParser has been deprecated final JsonParser parser = new JsonParser(); ^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/LayerPropertyConverter.java:273: warning: [deprecation] parse(String) in JsonParser has been deprecated final JsonElement jsonElement = parser.parse(entry.getValue()); ^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/LayerPropertyConverter.java:338: warning: [deprecation] JsonParser() in JsonParser has been deprecated final JsonParser parser = new JsonParser(); ^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/LayerPropertyConverter.java:341: warning: [deprecation] parse(String) in JsonParser has been deprecated final JsonElement jsonElement = parser.parse(entry.getValue()); ^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/LayerPropertyConverter.java:382: warning: [deprecation] JsonParser() in JsonParser has been deprecated final JsonParser parser = new JsonParser(); ^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/LayerPropertyConverter.java:385: warning: [deprecation] parse(String) in JsonParser has been deprecated final JsonElement jsonElement = parser.parse(entry.getValue()); ^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/LayerPropertyConverter.java:426: warning: [deprecation] JsonParser() in JsonParser has been deprecated final JsonParser parser = new JsonParser(); ^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/LayerPropertyConverter.java:429: warning: [deprecation] parse(String) in JsonParser has been deprecated final JsonElement jsonElement = parser.parse(entry.getValue()); ^
.../mapbox_gl-0.15.0/android/src/main/java/com/mapbox/mapboxgl/MapboxMapBuilder.java:26: warning: [deprecation] MapboxMapOptions() in MapboxMapOptions has been deprecated private final MapboxMapOptions options = new MapboxMapOptions() ^