maplibre-react-native
maplibre-react-native copied to clipboard
Call requestProgress when getting pack status on IOS + example improvement
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
)