React-leaflet crashes my app with my pixel 7

Anyone else have this problem? My app crashes on my pixel 7 but works on my pixel 4a.

This is the error I get in logcat in android studio:

[ERROR:shared_context_state.cc(819)] SharedContextState context lost via Skia.
[1203/030423.762223:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: Permission denied (13)

Can’t figure out how to solve it. If it matters:

Ionic:

   Ionic CLI       : 6.16.3 (/usr/local/lib/node_modules/@ionic/cli)
   Ionic Framework : @ionic/react 6.3.9

Capacitor:

   Capacitor CLI      : 3.1.1
   @capacitor/android : 3.2.0
   @capacitor/core    : 3.1.1
   @capacitor/ios     : 3.4.0

Utility:

   cordova-res                          : 0.15.4
   native-run (update available: 1.7.1) : 1.4.0

System:

   NodeJS : v14.17.0 (/usr/local/bin/node)
   npm    : 6.14.13
   OS     : Linux 5.14