All Projects → lopspower → Ratebottomsheet

lopspower / Ratebottomsheet

Licence: apache-2.0
To help to promote your android app by prompting users to rate your app in a BottomSheet ⭐️

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Ratebottomsheet

crypto-monitor
Monitor the crypto currency rate
Stars: ✭ 71 (-73.51%)
Mutual labels:  rate
rating
⭐ A true Bayesian rating system with scope and cache enabled
Stars: ✭ 49 (-81.72%)
Mutual labels:  rate
SlidingUpMenu
🚀 A very customizable library that allows you to present menu items (from menu resource and/or other sources) to users as a bottom sheet.
Stars: ✭ 26 (-90.3%)
Mutual labels:  bottomsheet
YYBottomSheet
Simple and Clear BottomSheet
Stars: ✭ 45 (-83.21%)
Mutual labels:  bottomsheet
material-activity-chooser
This library allows to use Material activity choosers on Jelly Bean+.
Stars: ✭ 59 (-77.99%)
Mutual labels:  bottomsheet
PullableSheet
Pullable sheet like a default map app or bottom sheets (Android).
Stars: ✭ 65 (-75.75%)
Mutual labels:  bottomsheet
BottomSheetBehavior
BottomSheetBehavior is an android library extracted from the Google I/O 2018 application source code.
Stars: ✭ 12 (-95.52%)
Mutual labels:  bottomsheet
Ubottomsheet
iPhone Maps App bottom sheet - A Protocol Oriented Approach
Stars: ✭ 259 (-3.36%)
Mutual labels:  bottomsheet
BottomSheet
Example project showing how to implement a bottom sheet in Swift 5 using container/child view controllers, UIPanGestureRecognizer, and constraint animations.
Stars: ✭ 31 (-88.43%)
Mutual labels:  bottomsheet
OwlBottomSheet
Simple library to show a bottom sheet like Owl app from Material Design studies cases
Stars: ✭ 44 (-83.58%)
Mutual labels:  bottomsheet
Material-Smart-Rating
😍⭐⭐Material Smart Rating App - An Android library that encourages users to rate the app on Google Play.⭐⭐😘
Stars: ✭ 30 (-88.81%)
Mutual labels:  rate
adaptive throttler
manages multiple throttlers with ability to ramp up and down
Stars: ✭ 31 (-88.43%)
Mutual labels:  rate
BottomSheet
BottomSheet lets you add custom bottom sheets to your SwiftUI apps.
Stars: ✭ 111 (-58.58%)
Mutual labels:  bottomsheet
Google-Maps-BottomSheet
A BottomSheetBehavior framework mirroring Google Maps'
Stars: ✭ 75 (-72.01%)
Mutual labels:  bottomsheet
nginx-rate-limit-sandbox
Docker image with various NGINX rate limit settings to play with burst and nodelay settings
Stars: ✭ 83 (-69.03%)
Mutual labels:  rate
BottomSheet
A sliding Sheet from the bottom of the Screen with 3 States build with SwiftUI.
Stars: ✭ 597 (+122.76%)
Mutual labels:  bottomsheet
UniRate
Unity plugin to easily manage the application frame rate and rendering interval. Preventing battery power consumption and device heat, especially on mobile platforms.
Stars: ✭ 26 (-90.3%)
Mutual labels:  rate
Bottomsheet Imagepicker
Modern image picker for Android
Stars: ✭ 267 (-0.37%)
Mutual labels:  bottomsheet
RateKit
📦RateKit for macOS
Stars: ✭ 28 (-89.55%)
Mutual labels:  rate
limio
A rate limiting library for Go centered around intuitive and idiomatic interfaces, and designed to limit silly window syndrome.
Stars: ✭ 51 (-80.97%)
Mutual labels:  rate

sample

RateBottomSheet

Platform API Download
Twitter Codacy Badge

This an Android library to help to promote your Android App by prompting users to rate your app in the Google Play Store with a material design friendly BottomSheet.

Android app on Google Play

USAGE

To used this usefull library you can grab it via Gradle:

implementation 'com.mikhaellopez:ratebottomsheet:1.1.0'

KOTLIN

RateBottomSheetManager(this)
    .setInstallDays(1) // 3 by default
    .setLaunchTimes(2) // 5 by default
    .setRemindInterval(1) // 2 by default
    .setShowAskBottomSheet(false) // True by default
    .setShowLaterButton(false) // True by default
    .setShowCloseButtonIcon(false) // True by default
    .monitor()

// Show bottom sheet if meets conditions
// With AppCompatActivity or Fragment
RateBottomSheet.showRateBottomSheetIfMeetsConditions(this)

Override string xml resources on your application to change the texts in bottom sheet:

<resources>
    <string name="rate_popup_ask_title">Like this App?</string>
    <string name="rate_popup_ask_message">Do you like using this application?</string>
    <string name="rate_popup_ask_ok">Yes I do</string>
    <string name="rate_popup_ask_no">Not really</string>

    <string name="rate_popup_title">Rate this app</string>
    <string name="rate_popup_message">Would you mind taking a moment to rate it? It won\'t take more than a minute. Thanks for your support!</string>
    <string name="rate_popup_ok">Rate it now</string>
    <string name="rate_popup_later">Remind me later</string>
    <string name="rate_popup_no">No, thanks</string>
</resources>

LISTENER

When calling RateBottomSheet.showRateBottomSheetIfMeetsConditions(...) you can choose to add another parameter of type AskRateBottomSheet.ActionListener; this allows you to implement 3 optional callbacks. Here is how:

RateBottomSheet.showRateBottomSheetIfMeetsConditions(
    this,
    listener = object : AskRateBottomSheet.ActionListener {
        override fun onDislikeClickListener() {
            // Will be called when a click on the "I don't like" button is triggered
        }

        override fun onRateClickListener() {
            // Will be called when a click on the "Rate" button is triggered
        }

        /*override fun onNoClickListener() {
            // Will be called when a click on the "No thanks" button is triggered,
            // in this example is commented,
            // but each callback is optional and it's up to you whether to implement it or not!
        }*/
    }
)

DEBUG

Enable debugForceOpen to show bottom sheet without conditions check like this:

RateBottomSheetManager(this)
    .setDebugForceOpenEnable(true) // False by default

// Don't forget to run showRate function
RateBottomSheet.showRateBottomSheetIfMeetsConditions(this)

You can also enable logs with debugLogEnable properties:

RateBottomSheetManager(this)
    .setDebugLogEnable(true) // False by default

Clear all current data from RateBottomSheet like this:

RateBottomSheetManager(this)
    .clear()

JAVA

You can call showRateBottomSheetIfMeetsConditions func like this:

RateBottomSheet.Companion.showRateBottomSheetIfMeetsConditions(this);

And because this library it's write in Kotlin you need to add kotlin-stdlib dependency on your java project:

implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.3.71'

SUPPORT ❤️

Find this library useful? Support it by joining stargazers for this repository ⭐️
And follow me for my next creations 👍

LICENCE

RateBottomSheet by Lopez Mikhael is licensed under a Apache License 2.0.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].