requestly-android-sdk icon indicating copy to clipboard operation
requestly-android-sdk copied to clipboard

Unable to build a release app without commenting out Requestly

Open MKevin3 opened this issue 2 years ago • 1 comments

If I attempt to build a release build of my app I get an error on this line about a missing key

Requestly.Builder(this).build()

Even though I have it set this way in my build.gradle

debugImplementation "io.requestly:requestly-android:$requestlyVersion"
releaseImplementation "io.requestly:requestly-android-noop:$requestlyVersion"
debugImplementation "io.requestly:requestly-android-okhttp:$requestlyVersion"
releaseImplementation "io.requestly:requestly-android-okhttp-noop:$requestlyVersion"

I had to comment out any use of Requestly API usage in the app to get a release build to work.

MKevin3 avatar Mar 18 '23 16:03 MKevin3

Hey @MKevin3. Found the issue for this. The appToken is not optional in noop builds right now. Let me fix this ASAP

wrongsahil avatar Mar 21 '23 12:03 wrongsahil