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

Install applications from pbw file #33

Closed
17 tasks done
matejdro opened this issue Oct 21, 2020 · 0 comments · Fixed by #143
Closed
17 tasks done

Install applications from pbw file #33

matejdro opened this issue Oct 21, 2020 · 0 comments · Fixed by #143
Assignees
Labels
enhancement New feature or request
Projects
Milestone

Comments

@matejdro
Copy link
Collaborator

matejdro commented Oct 21, 2020

Similarly to original Pebble app, new app should also be able to install pebble apps from pbw files.

Upon tapping on pwb file in any file browser app (or in browser's downloads list), Cobble app should open, displaying information about the app and offering user to install it.

Progress in https://github.com/pebble-dev/mobile-app/tree/pbw_install:

Stage 1:

  • Native - Open and read PBW file metadata (Flutter has no appropriate zip library)
  • Flutter - Display rudimentary install confirmation prompt
  • Flutter Native - Copy file to the app storage

Stage 2:

  • Flutter - Insert app into BlobDB
  • Flutter - Open app on the watch
  • Native - Send app data to the watch on request
  • Flutter - Display installation progress
  • Flutter - Add delete app button
  • Both - Delete PBW file upon deleting app

Stage 3:

  • Flutter - organize background code (split into multiple files)
  • Flutter - Close install dialog when install is complete
  • Flutter - Clear and reinstall all apps when watch is unfaithful
  • Flutter - Fail gracefully if app does not support connected watch
  • Flutter - Force reinstall when installing already installed pbw
  • Flutter - Display message to the user if watch is not connected
  • Flutter - display app compatibility
  • Filter pbw intents to only content uris
@matejdro matejdro added the enhancement New feature or request label Oct 21, 2020
@matejdro matejdro added this to the 2. Apps milestone Oct 21, 2020
@matejdro matejdro self-assigned this Oct 27, 2020
@AliceGrey AliceGrey added this to To do in Android Mar 1, 2021
Android automation moved this from To do to Done Apr 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Android
  
Done
Development

Successfully merging a pull request may close this issue.

1 participant