question

shhamidi-2358 avatar image
0 Votes"
shhamidi-2358 asked shhamidi-2358 answered

direct install apk with google-service.json

hi.
how can i google-service.json to safe. because when i want install apk directly got error.

dotnet-xamarin
· 7
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

May I ask what's your main purpose? Solve the error issue or secure the google-service.json file? As I know, this is a Firebase config file, you could prevent any abusive use of that API key by configuring who can use it. See https://cloud.google.com/docs/authentication/api-keys#securing_an_api_key
About the error, would you mind sharing more details?

1 Vote 1 ·

thx.
i want send apk file to my customer that he can test it. but when used google-service , he cant install it on the phone mobile.

0 Votes 0 ·

Usually, installing APK is related to code signing. May I ask if the APK can be installed on the mobile when you remove the google-service.json? Some Firebase products require Google Play Services, while others don't, see : https://firebase.google.com/docs/android/android-play-services
I'm not sure which Firebase SDK you are using. Would you mind sharing the detail error message and providing more information about your mobile system / SDK version or others?

0 Votes 0 ·

thx.
yes when i remove installed. in galaxy note 10 not installed . and when i upload apk file and send direct link to install apk , not installed

0 Votes 0 ·

Would you mind sharing the error message? And check if there are any Google Play Services updates on your mobile. Then check if you have allowed installed from unknown.

0 Votes 0 ·
Show more comments

1 Answer

shhamidi-2358 avatar image
0 Votes"
shhamidi-2358 answered

put the maximm android version on 11 and solved

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.