Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Share url through contacts + SMS #132

Merged
merged 8 commits into from
Feb 14, 2021
Merged

Conversation

thevirtuoso1973
Copy link
Collaborator

@thevirtuoso1973 thevirtuoso1973 commented Feb 13, 2021

Closes #131. Can you see if it works on iOS?

contactShare

@thevirtuoso1973 thevirtuoso1973 self-assigned this Feb 13, 2021
@thevirtuoso1973 thevirtuoso1973 added this to In progress in Implementation via automation Feb 13, 2021
@thevirtuoso1973 thevirtuoso1973 marked this pull request as ready for review February 13, 2021 15:25
@saachipahwa
Copy link
Collaborator

saachipahwa commented Feb 13, 2021

Looks good I'll test it tomorrow! Although what if they want to use Whatsapp or some other messaging app?

@thevirtuoso1973
Copy link
Collaborator Author

@saachipahwa Currently I think they can already multi-send through whatsapp with the normal share button, unlike some of the other apps that you may use for sharing.
Although I could do with this if needed later:
https://faq.whatsapp.com/android/im-an-android-developer-how-can-i-integrate-whatsapp-with-my-app

@saachipahwa
Copy link
Collaborator

Oh okay, then I think the button should be renamed to 'Share over SMS/text'

@thevirtuoso1973
Copy link
Collaborator Author

Oh okay, then I think the button should be renamed to 'Share over SMS/text'

Ok can you 'request changes' so I remember tomorrow when I see my email.

lib/pages/sharing_page.dart Outdated Show resolved Hide resolved
@saachipahwa
Copy link
Collaborator

For some contacts, it opens message but still doesn't send the text. For others, it doesn't open message at all.

RPReplay_Final1613306231.2.MP4

@thevirtuoso1973
Copy link
Collaborator Author

Ok I think this is iOS being special as usual and not conforming to the SMS spec, I should be able to fix.

@thevirtuoso1973
Copy link
Collaborator Author

@saachipahwa Can you try it now?

@saachipahwa
Copy link
Collaborator

Sharing deeplink over contacts works now

@thevirtuoso1973 thevirtuoso1973 merged commit 6e1b359 into develop Feb 14, 2021
Implementation automation moved this from In progress to Done Feb 14, 2021
@thevirtuoso1973 thevirtuoso1973 deleted the share-url-contacts branch February 14, 2021 17:09
thevirtuoso1973 added a commit that referenced this pull request Feb 22, 2021
* sentry

* wb circle colour fix

* comments and smaller shadow blur

* theme colors in graph

* fix bug and add test

* P2P wellbeing sharing (#82)

* implement keypair generation

* implement private/public key to PEM, and fingerprint generation from public key

* fix key generation by calling encode

* POST new user to backend

* use `compute` so screen doesn't hang

* friend adding & basic outline of share UI

* fix bug with user password

* implement retrieving latest data

* fix crypto, make list better

* implement the friend_graph.dart

* implement sending data to friend

* implement seemingly working wellbeing sharing, add QR code

* use FAB instead of button

* add working refresh

* fix rendering issue with QR camera

* add stepper with working add_friend_page.dart

* change to score so it fits screen

* add sharing to QR with ShareButton

* format and clean up

* refresh automatically every 2 minutes

* fix exception with graph & refresh

* adding explicit view button

* add unread data indication

* add a TODO item

* notify user of sent success & failure

* display name instead of identifier

* attempt to integrate with iOS

* add container around QrImage to fix

* send notification when new data received

* remove unused notification

* fix bug with unread indicator not showing

* increment version

* fix qr size

Co-authored-by: saachipahwa <55795994+saachipahwa@users.noreply.github.com>

* some cleanup, notably publish_screen.dart slipped through, even though I
remember removing it from a previous conflict.

* Coach mark timing (#106)

* reducing time

* remove testing stuff

* fixing wb time

* wait longer in case exeuction is slow

* Settings page tests (#63)

* initial tests: commented out shared prefs problem

* settings page tests cleaning up

* remove db stuff

* test shared prefs by itself

* change button

* change buttons test

* comments

* current postcode and support tests

* comment

* fix for change postcode

* remove constructors

* Language changes 2 (#109)

* steps nudge

* intro language fixes

* 'friend' to 'care network'

* un-personifying app?

* removing steps specific nudge

* range change

* remove low steps function

* add to network

* init notifications and check if data is from friend

* fix multiple crypto setup, and add TODO

* use ChartTitle to add left/right axis labels

* add axes labels and split up a long string

* add deeplink and share button that sends to BASE_URL

* fix url, scaffold bug, and don't show/request camera permissions unless needed

* set initialUri back to null once handled, add enum, and update version

* fix null issue with _result

* intro pg remove and settings show scheduled notif

* small nudge page and sharing page changes

* pod

* coach mark issue

* add test for add_friend_page_test.dart, mocking DB and ScaffoldState

* fix null bug

* order the friends list

* check if user adding themselves, and write test for this

* pass wellbeing record into home to fix state

* extend ChangeNotifier and use provider for the DBs

* use provider in sharing_page.dart

* wbCheckTime

* little fixes

* pod

* set state

* past weeks to weeks

* cleanup sharing_page.dart and .gitignore

* req changes 2

* fixing home page coach mark

* reducing time but still works

* wrap provider around MaterialApp and fix tests

* fix bug with infinite loading, although I don't see why sorting didn't
work when using provider.

* 400 coach mark

* remove comment, pad left

* Usability feedback (#119)

* intro pg remove and settings show scheduled notif

* small nudge page and sharing page changes

* pod

* coach mark issue

* wbCheckTime

* little fixes

* set state

* past weeks to weeks

* req changes 2

* fixing home page coach mark

* reducing time but still works

* 400 coach mark

* remove comment, pad left

* update version

* implement Comparable and sort before display

* figma copy over and nudge notif

* base url

* center postcode caption

* Use convex bottom bar (#130)

* use convex bottom bar

* colours

Co-authored-by: saachipahwa <55795994+saachipahwa@users.noreply.github.com>

* remove old code that was left in (#126)

* Share url through contacts + SMS (#132)

* add contact_share_page.dart and display contact

* fix contact state

* implement _sendToSelected, launch the sms URI

* add comment on possible issue

* change button text

* use different separator depending on platform

* remove duplicate yaml

* try undocumented ios feature for multiple contacts

* use flutter_sms plugin

* null check on contact name and format

* add custom scheme to Info-Debug.plist

* lazy load contact avatar after initial retrieval (#139)

* Polish  (#133)

* remove old code that was left in (#126)

* small changes

* sharing page description

* remove comment

* buttons to friends widget

* change of key name, comment,

* pod

* scroll bar in intro screen

* qr code description

* button name change

* pod

* help button

* QR scanner page subtitles

* comment

* launcher icon

* settings page with sections

* settings page test fix

* fix coach mark mistake

* pod

* splash screen

* underline see here and center notif selector

* caption

* formatting settings descriptions

* network page updates

* sharing page: colours, bold words, customscroll

* remove custom scroll attempt

* splash screen longer, nw button colours

* home tutorial sized box fix

* splash screen only shows when loading

* make loadaftersplash neater

* blue i button instead of ? button

* version 1.3.0

* ios launch screen

* pod

* main logo font change -> KiteOne

* launch screen

* no more splash screen

* settings page reformat

* remove unused import

* moving wb share button

* smaller logo

* remove launch screen

* removec Future.value and print

* Add linter stuff to dev branch (#147)

* Create linter.yml

* Add badge for linter

* fix linter complaints, trailing spaces and headings

* don't validate RUBY or JSCPD

* remove check on push to dev

Co-authored-by: saachipahwa <55795994+saachipahwa@users.noreply.github.com>

* change linter setting

* update workflows

* use container with flutter

* remove linter (too pedantic even for me)

* change badge

* fix badge

* fix badge - third time's the charm

* change name

Co-authored-by: saachipahwa <55795994+saachipahwa@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants