Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rate pop up appears on every app launch #25

Closed
PretzelJones opened this issue Mar 1, 2019 · 4 comments
Closed

Rate pop up appears on every app launch #25

PretzelJones opened this issue Mar 1, 2019 · 4 comments

Comments

@PretzelJones
Copy link

No matter what I set in appdelegate the rate popup appears on every app launch. This occurs in the simulator and on a physical device.

@takecian
Copy link
Owner

takecian commented Mar 3, 2019

Could you share that code?

@PretzelJones
Copy link
Author

PretzelJones commented Mar 3, 2019

I think the main issue is that there is no way for the user to not leave a review but also not be bothered by the popup. So if I don't leave a review, the only option I have have is "Not now" which just prompts the user on every app launch.

But here is the code from my appdelegate.swift file. I installed vie cocoapods.

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
    SwiftRater.daysUntilPrompt = 1
    SwiftRater.usesUntilPrompt = 2
    SwiftRater.significantUsesUntilPrompt = 3
    SwiftRater.daysBeforeReminding = 1
    SwiftRater.showLaterButton = true
    SwiftRater.debugMode = true
    SwiftRater.appLaunched()
    //firebase functionality
    FirebaseApp.configure()
    return true
}

@takecian
Copy link
Owner

takecian commented Mar 4, 2019

Did you call SwiftRater.check()?

@PretzelJones
Copy link
Author

That might be what I'm missing. I'll give that a try. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants