ente/mobile
Vishnu Mohandas 0c400db649
[server] Fix Stripe related issues (#1152)
## Description

### Stripe
- Settings have been modified to "Cancel" the subscription if all
attempts to charge an invoice fails. The previous configuration was to
set the subscription to "Past Due".

### Museum
- Updated our Stripe workflow to use `PaymentBehaviorAllowIncomplete` in
case of SEPA payments
- Fixed the issue caused by us spawning unnecessary subscriptions when a
customer tried to renew their expired subscription
- Removed the email that was being sent out when a Stripe subscription
expired. We will have to run our own cron to send a notification and
perform necessary clean up. When payments fail, we will still send a
notification to intimate the customer that their account is on hold.

### Mobile
- Fixed the dialogs and error messages on the payment page

## Tests
The following cases were tested for SEPA, Credit Cards, and Credit Cards
with 3DS.
- [x] Purchase
  - [x] Success
  - [x] Failure
- [x] Renewal
  - [x] Success
  - [x] Failure
- [x] Upgrades
  - [x] Success
  - [x] Failure
- [x] Cancellation
- [x] Resumption post recovery

## Note

These changes are likely to break in the event of some corner cases we
haven't thought of. But this will land us in a state that is better than
where we are right now in terms of collecting payments for expired
subscriptions and those via SEPA.
2024-03-27 14:43:36 +05:30
..
.gradle Move into mobile/ 2024-03-01 12:25:37 +05:30
android [mobile][photos] Home Widget fixes (#992) 2024-03-12 01:39:30 +05:30
assets Move into mobile/ 2024-03-01 12:25:37 +05:30
docs [meta] Document the tag format, and call out the need to keep tag == title 2024-03-14 09:50:08 +05:30
fastlane Also update the links in the fastlane descriptions 2024-03-14 18:22:51 +05:30
fonts Move into mobile/ 2024-03-01 12:25:37 +05:30
hooks Move into mobile/ 2024-03-01 12:25:37 +05:30
integration_test [mobile][photos] Fix performance benchmarking config (#1195) 2024-03-25 10:30:13 +05:30
ios remove worker manager related changes 2024-03-09 17:19:15 +05:30
lib [server] Fix Stripe related issues (#1152) 2024-03-27 14:43:36 +05:30
plugins Update CLIP dependency 2024-03-01 18:53:51 +05:30
scripts Move into mobile/ 2024-03-01 12:25:37 +05:30
test/utils Move into mobile/ 2024-03-01 12:25:37 +05:30
test_driver [mobile][photos] Fix performance benchmarking config (#1195) 2024-03-25 10:30:13 +05:30
.gitattributes Move into mobile/ 2024-03-01 12:25:37 +05:30
.gitignore [meta] Reintroduce .vscode in the mobile gitignores 2024-03-14 09:20:17 +05:30
.metadata Move into mobile/ 2024-03-01 12:25:37 +05:30
analysis_options.yaml Move into mobile/ 2024-03-01 12:25:37 +05:30
build-apk.sh Move into mobile/ 2024-03-01 12:25:37 +05:30
CHANGELOG.md bump up version to v0.8.67 2024-03-12 07:51:57 +05:30
crowdin.yml Crowdin project_id is already public 2024-03-04 12:54:49 +05:30
gallery_scroll_perf_test.sh [mobile][photos] Fix performance benchmarking config (#1195) 2024-03-25 10:30:13 +05:30
Gemfile Move into mobile/ 2024-03-01 12:25:37 +05:30
Gemfile.lock Move into mobile/ 2024-03-01 12:25:37 +05:30
l10n.yaml Move into mobile/ 2024-03-01 12:25:37 +05:30
pubspec.lock [mobile][photos] Fix performance benchmarking config (#1195) 2024-03-25 10:30:13 +05:30
pubspec.yaml [mobile][photos] Fix performance benchmarking config (#1195) 2024-03-25 10:30:13 +05:30
README.md [mobile] Update the link to GitHub APK for photos 2024-03-14 18:16:01 +05:30
run.sh Move into mobile/ 2024-03-01 12:25:37 +05:30

Mobile app for Ente Photos

Source code for our flagship mobile app. For us, this is our most important client app. This is where Ente started. This is what had the first commit.

commit a8cdc811fd20ca4289d8e779c97f08ef5d276e37
Author: Vishnu Mohandas <vishnumohandas@gmail.com>
Date:   Wed Mar 25 01:29:36 2020 +0530

    Hello world

To know more about Ente, see our main README or visit ente.io.

To use Ente Photos on the web, see ../web. To use Ente Photos on the desktop, see ../desktop. There is a also a CLI tool for easy / automated exports.

If you're looking for Ente Auth instead, see ../auth.

📲 Installation

Android

The GitHub releases contain APKs, built straight from source. The latest build is available at ente.io/apk. These builds keep themselves updated, without relying on third party stores.

You can alternatively install the build from PlayStore or F-Droid.

iOS

🧑‍💻 Building from source

  1. Install Flutter v3.13.4.

  2. Pull in all submodules with git submodule update --init --recursive

  3. Enable repo git hooks git config core.hooksPath hooks

  4. If using Visual Studio Code, add the Flutter Intl extension

  5. On Android:

    • For development, run flutter run -t lib/main.dart --flavor independent

    • For building APK, setup your keystore and run flutter build apk --release --flavor independent

  6. For iOS, run flutter build ios

Some common issues and troubleshooting tips are in docs/dev.

VSCode users might find it useful to copy docs/vscode into a top level .vscode.

🏙️ Attributions

City coordinates from Simple Maps

🌍 Translate

Crowdin

If you're interested in helping out with translation, please visit our Crowdin project to get started. Thank you for your support.

If your language is not listed for translation, please create a GitHub issue to have it added.

💚 Contribute

For more ways to contribute, see ../CONTRIBUTING.md.