java - Access config.properties from AndroidManifest.xml -


i've created android project being stored on github public repository. project contains api key shouldn't made viewable public. in order prevent public seeing key, i've placed in config.properties file. in androidmanifest.xml, key value contains dummy data. run application testing purposes, i'm pasting key manifest before launching , replacing dummy data before commit changes github.

my question, how access property api.key in config.properties androidmanifest.xml? idealy, when gradle file builds project, api.key value inserted androidmanifest.xml, never seen on github because .gitignore file not allow .properties files committed.


Comments

  1. I agree that location plays a deciding role when it comes to the requirement of a full stack software developer. But this location barrier is broken by the remote job opportunities provided by the freelance economy. The pandemic taught us the importance of remote work and the gig economy. Companies are willing to hire remote freelance professionals to virtually take charge of both the front-end and back-end technologies. Visit Eiliana.com, where top IT clients from the US and other countries across the globe post lucrative development and testing projects regularly.

    ReplyDelete

Post a Comment