Features should not be a problem. As far as I understand it they just specify the features that the phone must support. So if someone has a phone that has no gps or other location ability, then the Play Store will not allow the app to be installed. It does not mean the app will actually make use of location services.
Yarn and npm do basically the same job. They both install dependencies listed in
package.json. Npm keeps track of the package versions etc. in
package-lock.json and yarn uses
yarn.lock for the same reason.
You should use npm or yarn to manage your dependencies. Not both. If you use npm, make sure you have deleted
yarn.lock. If you use yarn, make sure you have deleted
You should not have to edit
yarn.lock. Also, although it would be better if the app did not mebtion location in the features, I don’t believe it should cause a problem.
So, after you’ve made sure app.json and package.json are right and you only have one lock file, run
npm install (if you’re using npm) or
yarn (if you’re using yarn). Double check that you still only have one lock file. Then build the app again and that should work.