Proguard issue: io.fotoapparat.coroutines.AwaitBroadcastChannel: can't find referenced method 'boolean cancel()' in program class kotlinx.coroutines.CompletableDeferred #391
io.fotoapparat.coroutines.AwaitBroadcastChannel: can't find referenced method 'boolean cancel()' in program class kotlinx.coroutines.CompletableDeferred
I would guess that copying the deprecation warning and providing the correct cancel(..) that accepts a CancellationException would fix the issue? Or maybe just specifying deprecation level?
The issue is
AwaitBroadcastChannel
https://github.com/RedApparat/Fotoapparat/blob/09a551635c6da6569911de0ba94ec40b5339781a/fotoapparat/src/main/java/io/fotoapparat/coroutines/AwaitBroadcastChannel.kt#L34-L36
I would guess that copying the deprecation warning and providing the correct
cancel(..)
that accepts aCancellationException
would fix the issue? Or maybe just specifying deprecation level?See
ConflatedBroadcastChannel