Skip to content
This repository was archived by the owner on Jun 5, 2021. It is now read-only.

Support null safety and upgrading pre 1.12 Android projects#23

Open
lvchenyang wants to merge 2 commits into
j0j00:masterfrom
lvchenyang:master
Open

Support null safety and upgrading pre 1.12 Android projects#23
lvchenyang wants to merge 2 commits into
j0j00:masterfrom
lvchenyang:master

Conversation

@lvchenyang

Copy link
Copy Markdown

static Future init({force: false}) async {
if (_properties == null || force) {
Map<dynamic, dynamic> properties= (await _channel.invokeMethod('getProperties'));
print(Map.unmodifiable(properties));

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The print statement should not be there.

@@ -0,0 +1 @@
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"flutter_user_agent","path":"/Users/lvchenyang/AndroidStudioProjects/flutter_user_agent/","dependencies":[]}],"android":[{"name":"flutter_user_agent","path":"/Users/lvchenyang/AndroidStudioProjects/flutter_user_agent/","dependencies":[]}],"macos":[],"linux":[],"windows":[],"web":[]},"dependencyGraph":[{"name":"flutter_user_agent","dependencies":[]}],"date_created":"2021-04-07 14:39:14.468191","version":"2.0.3"} No newline at end of file

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this file should be in version control

@@ -0,0 +1,14 @@
#!/bin/sh

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neither should this

@j0j00

j0j00 commented May 30, 2021

Copy link
Copy Markdown
Owner

Is the flutterembedding stuff required for null safety or just an extra?

@j0j00

j0j00 commented May 30, 2021

Copy link
Copy Markdown
Owner

#17 seems to try and achieve that, but with more specific changes.

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.

2 participants