Moved to NS6.0.2, now seeing this problem on barcodescanner.scan(). Changed these three references in node_modules/nativescript-barcodescanner/barcodescanner.android.js to fix things:
Changed android.support.v4.content.ContextCompat to androidx.core.content.ContextCompat
Changed android.support.v4.app.ActivityCompat to androidx.core.app.ActivityCompat
Changed android.support.v4.content.LocalBroadcastManager to androidx.localbroadcastmanager.content.LocalBroadcastManager
All OK now, but I'm hoping the next release of nativescript-barcodescanner will have these fixes. Thanks for a great plugin!
Moved to NS6.0.2, now seeing this problem on
barcodescanner.scan()
. Changed these three references in node_modules/nativescript-barcodescanner/barcodescanner.android.js to fix things:android.support.v4.content.ContextCompat
toandroidx.core.content.ContextCompat
android.support.v4.app.ActivityCompat
toandroidx.core.app.ActivityCompat
android.support.v4.content.LocalBroadcastManager
toandroidx.localbroadcastmanager.content.LocalBroadcastManager
All OK now, but I'm hoping the next release of nativescript-barcodescanner will have these fixes. Thanks for a great plugin!