GithubHelp home page GithubHelp logo

grizzly / apprating Goto Github PK

View Code? Open in Web Editor NEW
64.0 64.0 15.0 104 KB

AppRating - iOS App Rating for Swift 5

Home Page: https://cocoapods.org/pods/AppRating

License: MIT License

Ruby 2.48% Swift 96.28% Objective-C 1.24%
cocoapods rating review swift

apprating's People

Contributors

grizzly avatar zs40x avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

apprating's Issues

Allow different kinds of significant event

Allow different significant event counter.

Eg: Only prompt when the user within the same app "hailed 3 ride sharing rides" OR "paid 5 times through credit card" OR "participated once in a in-app event". Current significant events counter does not allow the differentiation of events. You can only add all of these events together.

SPM support

hi,
Can you add the support for Swift Package Manager?

Thank

crash

AppRating.swift line 673
AppRatingManager.incrementCountForKeyType(:canPromptForRating:)

com.apple.root.background-qos
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000010
0
libobjc.A.dylib
objc_msgSend + 16
11
Foundation
-[NSUserDefaults(NSUserDefaults) setObject:forKey:] + 68
12
AppRating
AppRating.swift - 673. satır
AppRatingManager.incrementCountForKeyType(:canPromptForRating:) + 673
13
AppRating
AppRating.swift - 645. satır
partial apply for closure #1 in AppRatingManager.applicationDidFinishLaunching(_:) + 645

Document is unclear and example code is empty

I pumped into this and have no idea how to use it.
From the doc:

That's it to get started. Setting AppRating up with this line uses some sensible default criterion (detailed below) and will present a rating prompt whenever they are met.

Then where's the detail below?

After config app id with AppRating.appID("12345678") in AppDelegate, do i have to manually call AppRating.showRatingAlert() or AppRating.rate() after write down logic code like this:

if AppRating.daysUntilPrompt() == 0 {
AppRating.showRatingAlert()
}

Or the package automatically determine to show it in the proper time?

Review URL seems not to be working anymore

Upon disabling SKStoreReviewController by using AppRating.manager.useSKStoreReviewController = false in which I noticed the review uRL seems not to be working anymore.

Currently, this package is using this format https://itunes.apple.com/app/idAPP_ID?action=write-review however I found out it is not working anymore then I tried other links like below:

https://apps.apple.com/us/app/clash-of-clans/id529479190?action=write-review

I think the valid format now should be https://apps.apple.com/<ANY_COUNTRY_CODE/app/<ANY_NAME>/id<APP_ID>?action=write-review.

[UPDATE]

Also, found out that country code can be optional.

https://apps.apple.com/app/<ANY_NAME>/id<APP_ID>?action=write-review

Preset value

Is there any way to preset the value so when it comes up, it is already set to 5 stars?

Obj-C Inference Broken

Hello, Seems like objc inference was turned off without adding @obj annotation to code. Can you please confirm issue and I can submit a PR.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.