Skip to content
This repository has been archived by the owner on Oct 10, 2020. It is now read-only.

Fixed plugin registration to enable use this plugin with Flutter feature add-to-app + engine pre-warn #168

Merged
merged 2 commits into from Feb 19, 2020

Conversation

santiihoyos
Copy link
Contributor

When we used this plugin in Flutter as add-to-app module. We found that plugin registration crashes when try to pre-warn the engine in application startup.

So, this crash is caused by the call registrar.activity() on method registerWith . For fix we remove all call to activity() getter on plugin registration and call it only when Flutter side calls to "scan".

regards.

…ndroid Activity

this add support for use this plugin in apps with add-to-app feature
avoid use Registrar.activity() beforr Flutter engine attached to any activity
@devtronic devtronic merged commit 0a25923 into mintware-de:master Feb 19, 2020
@devtronic
Copy link
Member

Thanks @santiihoyos

@devtronic devtronic mentioned this pull request Feb 19, 2020
devtronic added a commit that referenced this pull request Feb 19, 2020
Features:
- [Add-to-app support](#168) - @santiihoyos
- Changed overlay to full screen in iOS 13

Bugfixes:
- [Fixed rotation on iOS](#167) - @mintware-de
  - [#61 Rotating orientation on iPhones only shows half the screen](#61)

Changes:
- [Fix compile warning](#127) - @lookfirst
- [Upgrade gradle](#142) - @SuuSoJeat
  - `com.android.tools.build:gradle`: 3.3.1 -> 3.5.0
  - `org.jetbrains.kotlin:kotlin-gradle-plugin`: 1.3.20 -> 1.3.50
  - `compileSdkVersion`: 28 -> 29
  - `targetSdkVersion`: 28 -> 29
  - `gradle`: 4.10.2 -> 5.4.1
- [Package description updated](#180) - @connectety
- README.md and LICENSE.md updated
- Since the project owner has been changed, the package names are different. Checkout the [UPGRADE.md](./UPGRADE.md) for details.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants