![]() ![]() The website will be deployed when you merge to master. If it's good to go, publish the final version, update the website version again, then merge. Open a PR, have someone else like look at it.Publish an alpha release, switch back the version in the website to that version.While you're here, it would be kind of you to update the Expo SDK version to latest.If new icons were added, ensure that they work here. Go to the website directory, test it out by changing the version to "./" (TODO: investigate this quirk!).Run yarn when you're done and it'll copy vendor files over to build.TypeScript/Flow types for Icon/Icon.Button components may need to be updated.Were any dependencies added? Check imports against those in the current package.json, see why they were added - maybe they support the bin scripts, in which case we need them.The main thing to look out for are user-facing API changes, the internals are different enough that you don't need to worry about it. Probably there won't be anything important.ToolBarAndroid and TabBarIOS are not included in Neither are the native vendor font loading or image source related methods.Run git diff **/*.js - do any of the changes look like they should be synced over to the equivalent.Things to look out for are new icon fonts or new create-* files. Remove anything that doesn't seem needed. Run git status and look at the untracked files.Copy files from the cloned directory into src/vendor/react-native-vector-icons, except the dotfiles. ![]() You should set aside about an hour to do this. I'll be honest with you, it's not straightforward. If you still want to use an SVG file, you can try converting it to PNG or JPG format using a third-party. However, you can convert the SVG file to one of the supported file types and use it as an icon for the marker. Therefore, it is not possible to use an SVG as a custom icon for an HMSMarker directly. Component įor more usage see Expo icons documentation Maintainers How to upgrade the react-native-vector-icons version It seems that SVG files are not supported. Import React from 'react' import Ionicons from export default class IconExample extends React.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |