easy_service_manager 1.1.0 easy_service_manager: ^1.1.0 copied to clipboard
This Package is used to add post production settings and features like more app settings, in-app-review, app rating system etc.
Easy Services Manager #
Features #
- Support for More Settings Screen
- Support for google play store and Appstore Rating system
- Support for
in_app_review
system - Support for
easy_ads_flutter
system - Support for remote settings and json data like wallpapers etc
How to use #
Initialization #
Initialize EasyServicesManager
on the start of the app
await EasyServicesManager.instance.initialize(
adIdManager: const TestAdIdManager(),
aboutAppDescription: 'You can add the app description here.',
supportEmail: 'mail@example.com',
itunesMoreAppLink: 'tiktok-ltd/id1322881000',
androidDeveloperName: 'TikTok+Pte.+Ltd',
appStoreID: '835599320',
privacyPolicy: 'This is the privacy policy here.',
remoteConfigEndpointUrl: 'domain/YOUR_ENDPOINT.json',
wallpapersKey: _wallpapersKeyMapper
);
How to Integrate EasyAds #
For Integrate easy_ads_flutter
, you can see the readme of the package guide, see easy_ads_flutter for better understanding how to add easy_ads_flutter.
Add AdIdManager()
class in the initializer of the EasyServicesManager
like this
EasyServicesManager.instance.initialize(adIdManager: const TestAdIdManager())
There are two ways to use More Setting Screen.
1: Stand-Alone App mode for more setting screen #
Navigator.of(context).push(
MaterialPageRoute(
fullscreenDialog: fullscreenDialog,
builder: (_) => Scaffold(body: EasyServicesManager.instance.moreScreen())),
);
2: Add more setting screen to Widget-Tree #
EasyServicesManager.instance.moreScreen();
3: Show Rate Floating Action Button #
EasyServicesManager.instance.rateFloatingActionButton();
4: Show Custom In App Review Dialog #
EasyServicesManager.instance.tryShowingCustomInAppReview();
5: How to show ads #
You can show banner, Interstitial and rewarded ads like this
- For Banner ad
EasyServicesManager.instance.showBannerAd();
- For Interstitial ad
EasyServicesManager.instance.showInterstitialAd();
- For Counted Interstitial ad
EasyServicesManager.instance.showCountedInterstitialAd();
- For Rewarded ad
EasyServicesManager.instance.showRewardedAd();