Meteor Android permissions

831 views Asked by At

I'm working on a mobile app built in Meteor and Meteoric (that got discontinued just recently, I'm aware of that). Most of the things are working nicely, but geolocation provides issues on Android devices.

It reports that the required permissions are not available. I can fix that by adding those permissions to the AndroidManifest.xml file

<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />

The issue is that the AndroidManifest.xml file is in gitignore (actually, it's hidden somewhere below .meteor/local, and that is in gitignore). Manually updating the AndroidManifest.xml does work, but that means every member of my team needs to do it. And if someone joins the team later, we get the same issue again. Also it's not really a solution for automated deployment if we have to update the file manually.

How should I configure Meteor / Meteoric so these permissions get added to my Android app?

1

There are 1 answers

0
Arjan On BEST ANSWER

I updated the geolocation plugin and that has fixed the permissions issue. I don't know if that's because of the update itself or some side effect, but at least it solved my problems.