While the iOS device is rotating the bounds of the previewView will be recalculated
and the scanRect will be reinitialized
Changes in the WorkspaceSettings are necessary to run the example app
If you declare the activity in the library, the hosting application's
manifest will get merged with the library manifest and then the end user
doesn't have to edit their manifest before this plugin works.
also updated to latest gradle plugin and kotlin versions