Thought I should mention that it was my mistake. I tried to deploy a test release with fastlane
and in my Fastfile
for the beta lane I did not add the properties for apk signing. If you are using fastlane to distribute a beta test make sure to have something similar to below in your Fastfile for the lane that you are calling otherwise in app billing won't work:
lane :beta do
# ...
gradle(
task: 'assemble',
build_type: 'Release'
properties: {
"android.injected.signing.store.file" => "[key_keystore]",
"android.injected.signing.store.password" => "[store_password]",
"android.injected.signing.key.alias" => "[key_alias]",
"android.injected.signing.key.password" => "[key_password]",
}
)
firebase_app_distribution(
app: "your_app_id",
groups: "your_test_group"
)
# ...
end
Note you can find the credential properties in your project's bundle.gradle
file.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…