lopspower / ratebottomsheet Goto Github PK
View Code? Open in Web Editor NEWTo help to promote your android app by prompting users to rate your app in a BottomSheet ⭐️
License: Apache License 2.0
To help to promote your android app by prompting users to rate your app in a BottomSheet ⭐️
License: Apache License 2.0
Hi and first of all a huge thanks for the great library.
Currently I have one problem: when the user is asked if he likes the app or not, I am not able to define an action what to do if the user clicks the dislike button. I want to open a new activity where the user can input some reasons and hints for improvements etc.
Is this already possible or does it have to be integrated first?
Greetings
Hi, Quite interesting work...
I wonder if it's possible for you to add a feature to set custom intent for the rating button in order to be able to direct the user to any app store or pages...
Thanks in advance.
Any way to know when a bottom sheet is shown to the user?
Fatal Exception: java.lang.IllegalStateException
Can not perform this action after onSaveInstanceState
com.mikhaellopez.ratebottomsheet.AskRateBottomSheet$Companion.show$ratebottomsheet_release (AskRateBottomSheet.kt:16)
Hi thank you for creating this amazing library, btw i got black colour background in bottomsheet. How i can change this color at least i cant use my color resource for this. Thank you!
I can't use the library due to this exception:
:layout/rate_bottom_sheet_layout: Error inflating class com.google.android.material.button.MaterialButton
How can i fix it, I add the RateBottomSheet init in the MainActivity
You can integrate for change time days, hours...
RateBottomSheetManager(this)
.setInstallTime(3L, TimeUnit.DAYS)
RateBottomSheetManager(this)
.setInstallTime(24L, TimeUnit.HOURS)
See documentation TimeUnit
https://developer.android.com/reference/kotlin/java/util/concurrent/TimeUnit
I always found this warning in my console
StrictMode policy violation; ~duration=1 ms: android.os.strictmode.DiskReadViolation
at android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk(StrictMode.java:1504)
at java.io.UnixFileSystem.checkAccess(UnixFileSystem.java:251)
at java.io.File.exists(File.java:815)
at android.app.ContextImpl.getDataDir(ContextImpl.java:2253)
at android.app.ContextImpl.getPreferencesDir(ContextImpl.java:550)
at android.app.ContextImpl.getSharedPreferencesPath(ContextImpl.java:747)
at android.app.ContextImpl.getSharedPreferences(ContextImpl.java:400)
at android.content.ContextWrapper.getSharedPreferences(ContextWrapper.java:174)
at android.content.ContextWrapper.getSharedPreferences(ContextWrapper.java:174)
at com.mikhaellopez.ratebottomsheet.PreferenceHelper.<init>(PreferenceHelper.kt:22)
at com.mikhaellopez.ratebottomsheet.RateBottomSheetManager.<init>(RateBottomSheetManager.kt:34)
at com.myapp.app.base.BaseActivity.instantiateRateUs(BaseActivity.kt:143)
at com.myapp.app.HomeTwoActivity.configObjCallback(HomeTwoActivity.kt:327)
Issue source come from the library, how can i deal with this? Although there is no crash but i am not satisfied with this
Is there a way to call 'showRateBottomSheetIfMeetsConditions' from java? Do you have an example of integrating with java instead of kotlin?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.