Therefore, you will have to get into the native projects and specify the right permissions like described for iOS and Android.īut from my observation, the iOS changes were already applied upfront. In general this means that the native iOS/Android project should now be a real part of your project - not just an autogenerated folder that you don’t touch! You can read more about it in the release post and as well in the information about native projects. We will use a geolocation plugin from Capacitor, and normally Cordova would add some permissions for iOS and Android automatically. Npm install firebase Build at least once to have a www folder So simply run the commands below to create a new project, build the project once (which is important) and then you can add the native platforms: ionic start devdacticTracking blank -capacitor We are going with the first option, but the second works totally fine as well. Start a new Ionic project and automatically integrate it.To use Capacitor you don’t have to install anything specific, and you got two options for integration: This means we will combine different technologies but none of them on their own are hard to handle, so just follow along and you’ll have your first Capacitor app ready soon! Setting up our Ionic App, Capacitor & FirebaseĪs a small prerequisite make sure you got a Firebase app, so simply create a free account and start a new project like you can also see in my previous Firebase tutorial! In this tutorial we will go through the steps of building a Capacitor App with Ionic 4, Firebase integration and Google maps. With Capacitor 1.0 just days ago released it’s time to get into it - and what would be a better scenario than refreshing and updating one of the most read tutorials?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |