Showing posts from September, 2019

Error: cannot find symbol import

Having same problem like i had? node_modules/react-native-audio/android/src/main/java/com/rnim/rn/audio/ error: cannot find symbol import;                              ^   symbol:   class ActivityCompat   location: package Or something looks similar that saying Well here is the SO , the solution is to jetify. Use this : step 1: add these two lines in  Visit for complete guideline android.useAndroidX=true android.enableJetifier=true step 2: use these commands First of all remove node_modules folder and reinstall it using npm install or yarn and then npm install -- save - dev jetifier npx jetify npx react - native run - android Call npx jetify Happy coding ^^

Mapbox-gl Map got truncated

Mapbox-gl got initialized and then tap a button nav.push(xxx) and then from xxx.ts nav.pop(). Then the map got truncated or not full screen. The solution is to call with setTimeout() 200-250ms would do.