tamatem_plus

Creator: coderz1093

Last updated:

0 purchases

tamatem_plus Image
tamatem_plus Images

Languages

Categories

Add to Cart

Description:

tamatem plus

tamatem_plus #
A flutter project that RESTful integrates Tamatem Plus.
Features #


Implemented RESTful APIs for TamatemPlus:

Launch browser to TamatemPlus for authorization
Obtain the Token
Connect TamatemPlus
Query inventory items
Get GamePlayer info
Redeem inventory items
Logout



Getting started #
flutter pub add tamatem_plus(TODO)
copied to clipboard
Usage #

Add ".env" file in the root of App project:

TAMATEM_DOMAIN={TAMATEM_DOMAIN}
TAMATEM_CLIENT_ID={TAMATEM_CLIENT_ID}
TAMATEM_CUSTOM_SCHEME={TAMATEM_CUSTOM_SCHEME}
TAMATEM_GAME_STORE={TAMATEM_GAME_STORE}
copied to clipboard
TAMATEM_CUSTOM_SCHEME is the deeplink scheme of the application:
{companyname}-{gamename}://{companyname}
copied to clipboard
Based on the relevant information provided, TamatemPlus provides the following fields:
TAMATEM_DOMAIN is the API domain name, for example, https://stg-be.tamatemplus.com/
TAMATEM_CLIENT_ID is the application's ID
TAMATEM_GAME_STORE is a game store link configured by game manufacturer

then included asset with your application,
flutter:
assets:
- .env
copied to clipboard

Init the plugin at beginning of you app launch:

void main() async {
await TamatemPlusPlugin.init();

runApp(const MyApp());
}
copied to clipboard

Embed TamatemButton in the layout, then customize button if needed.

TamatemButton(
child: Text(
'Launch tamatem',
style: TextStyle(color: Colors.red),
),
)
copied to clipboard
License #
Copyright 2023 kuloud

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.