There are special cases where the Registrar does not have an attached activity (e.g. launched the app in the background). Currently if this happens the plugin throws an exception in the registerWith method. I refactored the code to allow an empty activity and only require it when the scan function is called.
There are special cases where the
Registrar
does not have an attached activity (e.g. launched the app in the background). Currently if this happens the plugin throws an exception in theregisterWith
method. I refactored the code to allow an empty activity and only require it when the scan function is called.