ios_build #140

Open
dan wants to merge 5 commits from ios_build_port into trunk
Owner

porting @ineiti's work from the old repo at flutter/flutter_app#78 adding iOS build support

porting @ineiti's work from the old repo at https://git.openprivacy.ca/flutter/flutter_app/pulls/78 adding iOS build support
dan added 4 commits 2021-08-07 02:17:52 +00:00
Member
Drone Build Status: failure https://build.openprivacy.ca/cwtch.im/cwtch-ui/161
First-time contributor

With regard to long-running processes: this is not only a problem on iOS, but also on Android, depending on the version and vendor. We had this problem when developing SwissCovid, and in the end only a special GAEN-API (Google-Apple Exposure Notification) allowed the apps to run 24h/24...

iOS has this thing where you can have a server notify the device if there is a new message. But I guess this is not something you want to do for cwtch!

We will make our repo public sometimes next week, one part is already public:

https://github.com/c4dt/lightarti-rest

It is a REST-wrapper around arti (https://gitlab.torproject.org/tpo/core/arti) and comes with an iOS and an Android library. This might be an option - of course it would need to be adapted. I think at least the following would need to be done:

  1. change the caching mechanism of the tor-nodes: arti downloads all nodes, we have a server-side list of the 1000 fastest and most reliable nodes. Here we would want probably downloading the whole list, and then caching it and flagging nodes that are down. When too little nodes are available, download the whole list again

  2. currently it's a one-shot REST setup: every time you call a REST method, a new tor-circuit is set up. This is OK for us, as we do this once a day. For cwtch we would need to keep the circuit alive and only set it up if it has been closed.

We'll be most probably working on this over the next few months, but if you're interested, I could speed this up a bit.

With regard to long-running processes: this is not only a problem on iOS, but also on Android, depending on the version and vendor. We had this problem when developing SwissCovid, and in the end only a special GAEN-API (Google-Apple Exposure Notification) allowed the apps to run 24h/24... iOS has this thing where you can have a server notify the device if there is a new message. But I guess this is not something you want to do for cwtch! We will make our repo public sometimes next week, one part is already public: https://github.com/c4dt/lightarti-rest It is a REST-wrapper around arti (https://gitlab.torproject.org/tpo/core/arti) and comes with an iOS and an Android library. This might be an option - of course it would need to be adapted. I think at least the following would need to be done: 1. change the caching mechanism of the tor-nodes: arti downloads all nodes, we have a server-side list of the 1000 fastest and most reliable nodes. Here we would want probably downloading the whole list, and then caching it and flagging nodes that are down. When too little nodes are available, download the whole list again 2. currently it's a one-shot REST setup: every time you call a REST method, a new tor-circuit is set up. This is OK for us, as we do this once a day. For cwtch we would need to keep the circuit alive and only set it up if it has been closed. We'll be most probably working on this over the next few months, but if you're interested, I could speed this up a bit.
dan added 1 commit 2021-08-13 00:14:56 +00:00
continuous-integration/drone/pr Build is pending Details
5ee6a121d7
fix PRODUCT_BUNDLE_IDENTIFIER to im.cwtch.ui
Member
Drone Build Status: success https://build.openprivacy.ca/cwtch.im/cwtch-ui/164
Some checks are pending
continuous-integration/drone/pr Build is pending
Required
Details
This pull request has changes conflicting with the target branch.
  • .gitignore
  • README.md
  • lib/cwtch/ffi.dart
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cwtch.im/cwtch-ui#140
No description provided.