Create Mini App
Users and groups can create mini apps. To create a mini app select mini app from Navigation Drawer.
Mini app creating is possible in live mode only. Mini apps will be available in beta mode also for testing.
Mini App Details
You can restrict the availability of app to a specific country or a location. Location will be latitude longitude with radius.
Mini App Access
Make your app free or paid
The monthly subscription apps allow app users to subscribe and pay a monthly fee. Users will be charged in TAG or PHP.
Agree to the terms and conditions to create the Mini App.
Managing Mini App
If Development Method is Flutter or HTML a git project will be created for this mini app. Details of git repository will be provided after mini app is created. New user will receive a mail with login details to this repository.
Scanning this QR with Tagcash app will load the mini app.
Add the users that can preview this app in beta mode for testing before publishing.
After development and testing submit the app for review to publish the app for live use.
Developing Flutter App
Tagcash flutter mini apps will be compiled to web application and deployed to Tagcash server. Make sure Flutter app has web support
Note: For Flutter web applications you need to be running the beta channel of Flutter at present.
Run the following commands to use the latest version of the Flutter SDK from the beta channel and enable web support:
flutter channel beta
flutter config --enable-web
Add web support to an existing app
To add web support to an existing project, run the following command in a terminal from the root project directory:
flutter create .
Tagcash mini apps are not hosted in the root of server so remove the <base href="/"> from the index.html you can find in web directory.
After above changes commit your code to the repository to trigger continuous deployment. You can track the build and deploy pipeline from CI / CD > Pipelines in specific mini app repository.
Accessing Tagcash API
Parameters that need to use the Tagcash API will be passed to the mini app as a query string
token : Secured access token of current user or group will be passed to the mini app.
server : 'beta' or 'live', API server in use when mini app is loaded.
Beta server path https://apibeta.tagcash.com/
Live server path https://api.tagcash.com/
type : Active perspective 'community' or 'user'
theme : App theme 'light' or 'dark';
Tagcash mini app projects are without a login option. When it is loaded from tagcash super app access token will be passed as a query string as mentioned above. For debug builds you will have to set the access token manually in code - you can get details about all APIs on Tagcash Developer website and beta access token can be generated from there.https://developer.tagcash.com
This repository can be used as a reference for API access