maplibre-react-native icon indicating copy to clipboard operation
maplibre-react-native copied to clipboard

Call requestProgress when getting pack status on IOS + example improvement

Open caspg opened this issue 5 months ago • 0 comments

Description

There is a bug when we call getPack and state is unknown. It happened for me in my Expo app but I couldn't replicate it with example in this repo.

I also fixed and migrated CreateOfflineRegion example to TypeScript and functional component. Example was crashing with demotiles.

I used americana tiles since they are also used in the maplibre-native.

Checklist

  • [x] I have tested this on a device/simulator for each compatible OS
  • [x] I formatted JS and TS files with running yarn lint:fix in the root folder
  • [x] I have run tests via yarn test in the root folder
  • [x] I updated the documentation with running yarn generate in the root folder
  • [x] I mentioned this change in CHANGELOG.md
  • [ ] I updated the typings files (index.d.ts)
  • [x] I added/updated a sample (/example)

Screenshot OR Video

caspg avatar Sep 15 '24 20:09 caspg