Skip to content
This repository was archived by the owner on Apr 21, 2025. It is now read-only.

Merge Flutter client from original repo...#284

Merged
hspinks merged 111 commits into
WorldHealthOrganization:masterfrom
patniemeyer:pat/merge-flutter-who
Mar 25, 2020
Merged

Merge Flutter client from original repo...#284
hspinks merged 111 commits into
WorldHealthOrganization:masterfrom
patniemeyer:pat/merge-flutter-who

Conversation

@patniemeyer

Copy link
Copy Markdown
Contributor

What does this PR accomplish?

Did you add any dependencies?

How did you test the change?

theswerd and others added 30 commits March 22, 2020 12:22
@advayDev1 advayDev1 self-requested a review March 25, 2020 06:12
@advayDev1 advayDev1 requested a review from hspinks March 25, 2020 06:14
@advayDev1

advayDev1 commented Mar 25, 2020

Copy link
Copy Markdown
Contributor
  • Remove PDF and asset pngs except logo
  • Waiting on confirmation of how page_view_indicator is pulled in by @theswerd

title: S.of(context).shareTheApp,
lightColor: true,
onPressed: () => Share.share(
'Check out the official COVID-19 GUIDE App https://preview.whoapp.org/menu')),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Not blocking check-in this has to go away

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

hm. easily changed if you have a suggestion for tonight...

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

That URL would be a url to the app itself on the appropriate app store.

We have no idea what the bundle id is for Apple yet for example.

@hspinks hspinks merged commit 7ae6010 into WorldHealthOrganization:master Mar 25, 2020
Comment thread client/flutter/.gitignore
@@ -0,0 +1,37 @@
# Miscellaneous

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Merge in to the top level .gitignore. It's already duplicative in places and a second file isn't needed:
https://stackoverflow.com/a/3307252

Comment thread client/flutter/README.md
@@ -0,0 +1,16 @@
# WHOFlutter

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

add spacing:

Suggested change
# WHOFlutter
# WHO Flutter App

Comment thread client/flutter/README.md
- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)

For help getting started with Flutter, view our

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

view "the", not "our"

@@ -0,0 +1,7 @@
gradle-wrapper.jar

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

merge in to top level .gitignore

@@ -0,0 +1,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

a much better list of permissions:
👍

@@ -0,0 +1,12 @@
package com.example.WHOFlutter

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

should we have the Kotlin example in here? I'd worry about someone trying to build it out when we want the energy focused on the Flutter code

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

So this automatically generated hook is where the Flutter plugins register their native components. More generally this is the place where we might end up adding a small amount of native code in the future if needed.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Ah, I see the com.example domain was mistakenly left in there making it appear that this is example code. I will fix.

<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#3A8CC4</color>
</resources> No newline at end of file

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

missing trailing newline

@@ -0,0 +1,31 @@
buildscript {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

remove Kotlin build

@@ -0,0 +1,32 @@
*.mode1v3

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this is the first .gitignore that seems like it could justify a second directory specific file.... certainly there's some duplication that can be removed, e.g. DerivedData and see here:
https://github.com/WorldHealthOrganization/app/blob/master/.gitignore#L29

@@ -0,0 +1,21 @@
{

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

splash-2732x2732.imageset/Contents.json
... that's a big splash screen

@advayDev1 advayDev1 added this to the v1.0 milestone May 7, 2020
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.

6 participants