9/29/2021

MapBox + React Native Woes

Uhhh…. getDataNetworkTypeForSubscriber…?

Spent a huge portion of my day debugging Android builds (for Android 11). Here are the major things I ran into:

Fatal Exception: java.lang.SecurityException ... getDataNetworkTypeForSubscriber

Here’s the Github issue that talks about this, as related to the MapBox React Native module:

https://github.com/mapbox/mapbox-gl-native-android/issues/425

;tldr: add this and it will work right for Android 11

implementation 'com.mapbox.mapboxsdk:mapbox-android-telemetry:6.1.0'

Here’s the code that fixes this in future releases of this module:

https://github.com/react-native-mapbox-gl/maps/pull/1550/files

Also, there’s some other things that are important to do (at least for now):

https://github.com/react-native-mapbox-gl/maps/issues/1501

MomentJS, we hardly knew ye

https://github.com/you-dont-need/You-Dont-Need-Momentjs

Music Breakdown

This guy does a great job breaking down the composition creativity in the early days; it’s mind-blowing how clever they were in leaving gaps in certain notes because they knew your brain would fill in the blanks.

This is an archived post, some things might not display right.

Copyright © Rick BlalockView Archive