FlutterStoreListing class
Constructors
- FlutterStoreListing()
-
factory
-
FlutterStoreListing.customize({String? forceIosAppId, String? forceAndroidPackageName, Future<
bool> urlCanLaunch(String url) = defaultUrlCanLaunch, Future<bool> urlLaunch(String url) = defaultUrlLaunch})
Properties
- forceAndroidPackageName → String?
-
Override android package, if null it will be retrieved from the current
apk package.
final
- forceIosAppId → String?
-
Allows overriding of the App Store App ID.
for example for https://apps.apple.com/app/id1479297675 this would be
1479297675
. If not given, will try to resolve it through the bundle identifier.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
urlCanLaunch
→ Future<
bool> Function(String url) -
final
-
urlLaunch
→ Future<
bool> Function(String url) -
final
Methods
-
getAndroidPackageName(
) → Future< String> -
getAndroidStoreListing(
String appId) → String - Generates Android Store listing for the given package name.
-
getIosAppId(
) → Future< String?> -
getIosStoreListing(
String? appId, {String protocol = 'https'}) → String - Generates iOS Store listing for the given bundle identifier.
-
isSupported(
) → Future< bool> - Whether launching store listing at all is supported;
-
isSupportedNativeRequestReview(
) → Future< bool> - Whether review requests are supported (ie. iOS review dialog, since iOS 10.3)
-
launchRequestReview(
{bool onlyNative = false}) → Future< bool> - launches a 'requestReview' dialog on iOS. If not available launches store URL externally.
-
launchStoreListing(
{bool iosWriteReview = true}) → Future< bool> - Launches the URL for reviewing.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
defaultUrlCanLaunch(
String url) → Future< bool> -
defaultUrlLaunch(
String url) → Future< bool>