You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use unified initializer to workaround crash on startup (#2116)
* wip
* wip
* wip
* Finalize MapboxInitializer
* update docs
* Rs/extend kdz unified initializer (#2122)
* Avoid repeating code and simplify init logic for optional SDKs
* Do not store AppInitializer in static block
---------
Co-authored-by: Ramon <[email protected]>
* Fixes / improvements
* Clearer delta
* Startup dependency
* PR fixes
* Private api file
* Gather some info when crashing (#2123)
* PR fixes
* minor
* Move exception out of companion
* Descope Nav and Search
* Manifest
* Log time since initializer was called
* Fix issue where initializer exception was overwritten
* Do not reschedule on failure
* Remove code related to Nav and Search and clean up docs
* Upgraded metalava.txt
* Ktlint
* Moved everything to `sdk-base` to be closer to the gl-native and common imports
* Address PR comments
* Make MapboxInitializerException internal
* Added doc for companion object for Dokka to pass. Make init JVM static
* Fix explicit snapshot version, allow override (publish_android_snapshot)
* Update the AWS CLI (publish_android_snapshot)
* Downgrad startup lib to align with common
* changelog
* Downgrade startup lib
---------
Co-authored-by: Ramon <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,16 +4,18 @@ Mapbox welcomes participation and contributions from everyone.
4
4
5
5
# 10.16.3
6
6
## Bug fixes 🐞
7
+
* Downgrade minimum required `compileSDK` from 31 to 30.
8
+
* Fix the `java.lang.UnsatisfiedLinkError` exception happening on the startup.
7
9
* Fix widgets flickering due to race condition if they are animated.
8
10
* Fix widgets not showing on some zoom levels.
9
11
* Fix map being black when using widgets (e.g. when `MapDebugOptions.TILE_BORDERS` option is enabled).
10
-
# 10.yy.zz
11
-
## Features ✨ and improvements 🏁
12
-
* Downgrade minimum required `compileSDK` from 31 to 30.
13
12
14
13
## Dependencies
15
14
* Update Mapbox gestures library to 0.9.1
16
15
16
+
## Known issues
17
+
* The `java.lang.UnsatisfiedLinkError` exception on startup has been fixed when using Mapbox Maps SDK __only__. If other Mapbox products are used (Navigation, Search) - loading navigation / search native libraries might still crash. Mapbox Navigation / Search SDKs fixes will be released separately.
18
+
17
19
# 10.16.2 November 08, 2023
18
20
## Bug fixes 🐞
19
21
* Fix a crash because of non-exported runtime-registered broadcasts receivers for apps targeting SDK 34.
Copy file name to clipboardExpand all lines: sdk-base/api/PublicRelease/metalava.txt
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,21 @@ package com.mapbox.maps {
22
22
@kotlin.RequiresOptIn(level=kotlin.RequiresOptIn.Level, message="This API is experimental. It may be changed in the future without notice.") @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget}) public @interface MapboxExperimental {
23
23
}
24
24
25
+
@RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public final class MapboxInitializer implements androidx.startup.Initializer<java.lang.Boolean> {
26
+
ctor public MapboxInitializer();
27
+
method public Boolean create(android.content.Context context);
28
+
method public java.util.List<java.lang.Class<? extends androidx.startup.Initializer<?>>> dependencies();
0 commit comments