mirror of
https://github.com/UrbanApps/Armchair.git
synced 2026-07-08 05:45:23 +02:00
Merge pull request #36 from phimage/fix-readme
Readme incorrectly documented showPrompt methods
This commit is contained in:
@@ -273,11 +273,11 @@ Read more about these functions below in the [Should-Prompt Closure](#should-pro
|
|||||||
|
|
||||||
`showPrompt()` tells Armchair to show the review prompt alert. The prompt will be showed if there is an internet connection available, the user hasn't already declined to rate, hasn't rated the current version and you are tracking new versions. You could call to show the prompt regardless of Armchair settings, for instance, in the case of some special event in your app like positive feedback given.
|
`showPrompt()` tells Armchair to show the review prompt alert. The prompt will be showed if there is an internet connection available, the user hasn't already declined to rate, hasn't rated the current version and you are tracking new versions. You could call to show the prompt regardless of Armchair settings, for instance, in the case of some special event in your app like positive feedback given.
|
||||||
|
|
||||||
Armchair.showPrompt()
|
Armchair.showPrompt()
|
||||||
|
|
||||||
`showPrompt(ifNecessary: Bool)` tells Armchair to show the review prompt alert if all restrictions have been met. The prompt will be shown if all restrictions are met, there is an internet connection available, the user hasn't declined to rate, hasn't rated current version, and you are tracking new versions. You could call to show the prompt, for instance, in the case of some special event in your app like a user login.
|
`showPromptIfNecessary()` tells Armchair to show the review prompt alert if all restrictions have been met. The prompt will be shown if all restrictions are met, there is an internet connection available, the user hasn't declined to rate, hasn't rated current version, and you are tracking new versions. You could call to show the prompt, for instance, in the case of some special event in your app like a user login.
|
||||||
|
|
||||||
Armchair.showPrompt(ifNecessary: Bool)
|
Armchair.showPromptIfNecessary()
|
||||||
|
|
||||||
The `reviewURLString()` function is the review URL string, generated by substituting the `appID`, `affiliateCode` and `affiliateCampaignCode` into the template URL for the current platform.
|
The `reviewURLString()` function is the review URL string, generated by substituting the `appID`, `affiliateCode` and `affiliateCampaignCode` into the template URL for the current platform.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user