Hi, thanks for this package.
When i add adivery and build, the below error happens and build fails:
node_modules/adivery-publisher/android/src/main/java/com/adivery/AdiveryModule.kt:268:20 Type mismatch: inferred type is Bitmap.CompressFormat? but Bitmap.CompressFormat was expected.
I could solve the error by edit that specific line in AdiveryModule.kt from this:
fun encodeToBase64(image: Bitmap, compressFormat: CompressFormat?, quality: Int): String?
to
fun encodeToBase64(image: Bitmap, compressFormat: CompressFormat, quality: Int): String?
Hi, thanks for this package.
When i add adivery and build, the below error happens and build fails:
node_modules/adivery-publisher/android/src/main/java/com/adivery/AdiveryModule.kt:268:20 Type mismatch: inferred type is Bitmap.CompressFormat? but Bitmap.CompressFormat was expected.I could solve the error by edit that specific line in AdiveryModule.kt from this:
fun encodeToBase64(image: Bitmap, compressFormat: CompressFormat?, quality: Int): String?to
fun encodeToBase64(image: Bitmap, compressFormat: CompressFormat, quality: Int): String?