-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Mapbox Android SDK v11.2.0 (#24)
* - correct binding error for AndroidCore * - include TargetFrameworks in CSHTML template * - correct binding for mapbox-sdk-geojson * - fix binding for maps.base
- Loading branch information
1 parent
2b8255c
commit 79305cb
Showing
13 changed files
with
78 additions
and
101 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 11 additions & 14 deletions
25
qs/com.mapbox.maps--android/source/com.mapbox.common/common/Additions/Additions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,19 @@ | ||
|
||
namespace Com.Mapbox.Common | ||
{ | ||
partial class MapboxSDKCommonInitializer | ||
partial class BaseMapboxInitializer | ||
{ | ||
public unsafe global::Java.Lang.Object Create(global::Android.Content.Context context) | ||
{ | ||
return CreateMapboxSDKCommon(context); | ||
} | ||
} | ||
} | ||
|
||
namespace Com.Mapbox.Common | ||
{ | ||
global::Java.Lang.Object global::AndroidX.Startup.IInitializer.Create(global::Android.Content.Context context) | ||
=> Create(context); | ||
} | ||
partial class MapboxSDKCommonInitializerImpl | ||
{ | ||
global::Java.Lang.Object global::AndroidX.Startup.IInitializer.Create(global::Android.Content.Context context) | ||
=> Create(context); | ||
} | ||
partial class CoreInitializer | ||
{ | ||
public unsafe global::Java.Lang.Object Create(global::Android.Content.Context context) | ||
{ | ||
return CreateMapboxSDKCommon(context); | ||
} | ||
global::Java.Lang.Object global::AndroidX.Startup.IInitializer.Create(global::Android.Content.Context context) | ||
=> Create(context); | ||
} | ||
} |
9 changes: 0 additions & 9 deletions
9
qs/com.mapbox.maps--android/source/com.mapbox.common/common/Transforms/Metadata.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,3 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<metadata> | ||
<attr | ||
path="//field[@name='Companion']" | ||
name="managedName">CompanionField</attr> | ||
<attr | ||
path="/api/package[@name='com.mapbox.common']/class[@name='MapboxSDKCommonInitializer']/method[@name='create' and count(parameter)=1 and parameter[1][@type='android.content.Context']]" | ||
name="managedName">CreateMapboxSDKCommon</attr> | ||
<attr | ||
path="/api/package[@name='com.mapbox.common']/class[@name='CoreInitializer']/method[@name='create' and count(parameter)=1 and parameter[1][@type='android.content.Context']]" | ||
name="managedName">CreateMapboxSDKCommon</attr> | ||
</metadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 10 additions & 10 deletions
20
...pbox.maps--android/source/com.mapbox.mapboxsdk/mapbox-sdk-geojson/Transforms/Metadata.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<metadata> | ||
<attr | ||
path="/api/package[@name='com.mapbox.geojson.gson']/class[@name='BoundingBoxTypeAdapter']/method[@name='read' and count(parameter)=1 and parameter[1][@type='com.google.gson.stream.JsonReader']]" | ||
name="managedName">ReadBoudingBox</attr> | ||
<remove-node path="/api/package[@name='com.mapbox.geojson']/class[@name='PointAsCoordinatesTypeAdapter']/method[@name='read' and count(parameter)=1 and parameter[1][@type='com.google.gson.stream.JsonReader']]" /> | ||
<remove-node path="/api/package[@name='com.mapbox.geojson']/class[@name='Polygon']/implements[@name='com.mapbox.geojson.CoordinateContainer']" /> | ||
<remove-node path="/api/package[@name='com.mapbox.geojson']/class[@name='MultiPolygon']/implements[@name='com.mapbox.geojson.CoordinateContainer']" /> | ||
<remove-node path="/api/package[@name='com.mapbox.geojson']/class[@name='Point']/implements[@name='com.mapbox.geojson.CoordinateContainer']" /> | ||
<remove-node path="/api/package[@name='com.mapbox.geojson']/class[@name='MultiPoint']/implements[@name='com.mapbox.geojson.CoordinateContainer']" /> | ||
<remove-node path="/api/package[@name='com.mapbox.geojson']/class[@name='LineString']/implements[@name='com.mapbox.geojson.CoordinateContainer']" /> | ||
<remove-node path="/api/package[@name='com.mapbox.geojson']/class[@name='MultiLineString']/implements[@name='com.mapbox.geojson.CoordinateContainer']" /> | ||
<attr path="//class[@name='PointAsCoordinatesTypeAdapter']" | ||
name="visibility"></attr> | ||
<attr path="//class[@extends='com.google.gson.TypeAdapter']/method[@name='read' and count(parameter)=1 and parameter[1][@type='com.google.gson.stream.JsonReader']]" | ||
name="managedName">ReadX</attr> | ||
<remove-node path="/api/package[@name='com.mapbox.geojson']/class[@name='Polygon']/implements[@name='com.mapbox.geojson.CoordinateContainer']" /> | ||
<remove-node path="/api/package[@name='com.mapbox.geojson']/class[@name='MultiPolygon']/implements[@name='com.mapbox.geojson.CoordinateContainer']" /> | ||
<remove-node path="/api/package[@name='com.mapbox.geojson']/class[@name='Point']/implements[@name='com.mapbox.geojson.CoordinateContainer']" /> | ||
<remove-node path="/api/package[@name='com.mapbox.geojson']/class[@name='MultiPoint']/implements[@name='com.mapbox.geojson.CoordinateContainer']" /> | ||
<remove-node path="/api/package[@name='com.mapbox.geojson']/class[@name='LineString']/implements[@name='com.mapbox.geojson.CoordinateContainer']" /> | ||
<remove-node path="/api/package[@name='com.mapbox.geojson']/class[@name='MultiLineString']/implements[@name='com.mapbox.geojson.CoordinateContainer']" /> | ||
</metadata> |
8 changes: 3 additions & 5 deletions
8
qs/com.mapbox.maps--android/source/com.mapbox.maps/android-core/Additions/Additions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
|
||
namespace Com.Mapbox.Maps.Loader | ||
{ | ||
partial class MapboxMapsInitializer | ||
partial class MapboxMapsInitializerImpl | ||
{ | ||
public virtual unsafe global::Java.Lang.Object Create(global::Android.Content.Context context) | ||
{ | ||
return CreateMapboxMaps(context); | ||
} | ||
global::Java.Lang.Object global::AndroidX.Startup.IInitializer.Create(global::Android.Content.Context context) | ||
=> Create(context); | ||
} | ||
} |
3 changes: 0 additions & 3 deletions
3
qs/com.mapbox.maps--android/source/com.mapbox.maps/android-core/Transforms/Metadata.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
qs/com.mapbox.maps--android/source/com.mapbox.maps/base/Transforms/Metadata.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<metadata> | ||
<attr | ||
path="//field[@name='Companion']" | ||
name="managedName">CompanionField</attr> | ||
<remove-node | ||
path="/api/package[@name='com.mapbox.maps.extension.style']/interface[@name='StyleInterface']/implements[@name='com.mapbox.maps.StyleManagerInterface']" /> | ||
</metadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters