Lam Pham
Jan 22, 2021

this is not true.

BuildConfig is a java file like all others, so it's also packaged within the apk.

Reverse the apk and you will see your API_KEY there.

using gradle.properties to store secret keys and hardcoding them in code are somehow the same thing in term of security.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Lam Pham
Lam Pham

Responses (1)

Write a response