FilaMagenta / App

The official app for Filà Magenta. Available for iOS and Android.
0 stars 0 forks source link

Filà Magenta App

The official app for Android and iOS.

CodeFactor Crowdin Publish Internal Release

Play Store GitHub App Store

Performance considerations

Since WooCommerce is not the fastest thing in the world, there are some optimizations to be considered.

  1. Not all the events are fetched when synchronizing. Only the ones in the current working year will be considered. The working year is taken from August to August, so let's say it's currently 13th of October 2023, only events created after the 1st of August 2023 will be loaded. And if it's currently 23rd of April 2024, events will still be loaded from the 1st of August 2023.
  2. When loading events, only the ones in the "EVENTOS" category will be loaded. This is hardcoded in WooCommerce.kt as CATEGORY_ID_EVENTS. If the ID is modified, it must be updated, and the app distributed again.

Release Process

To build production release, set the buildkonfig.flavor property to production:

gradlew build -Pbuildkonfig.flavor=production

Translation

The project is available on Crowdin for whoever that wants to translate the app into their own language.

Technical Information

Metadata

All the information is either obtained directly from WooCommerce or appended as metadata in the element in question. Here is all the custom metadata set by the app.

Orders

validated

Stores whether the ticket associated with the order has been validated or not.

Possible values: true, false.