resubscribe_flutter_sdk 1.0.3 resubscribe_flutter_sdk: ^1.0.3 copied to clipboard
The Flutter sdk for Resubscribe
Resubscribe Flutter SDK #
Flutter SDK for Resubscribe.
Installation #
https://pub.dev/packages/resubscribe_flutter_sdk
Usage #
In the scaffold of your app, add the following:
if (showResubscribe)
ResubscribeSDK(
loadingColor: Colors.black,
backgroundColor: Colors.white,
aiType: 'intent', // Replace with the AI type
uid: '{userid}', // Replace with the user ID
slug: 'test', // Replace with your slug
debugMode: true,
onClose: () {
setState(() {
showResubscribe = false;
});
},
),
Android #
Make sure your device has the following permissions:
<uses-permission android:name="android.permission.INTERNET" />