We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://github.com/xiaogaofudao/Android-Widget/blob/master/toast/src/main/java/com/gaogeek/toast/Toast.java
经测试。发现 Android 7.1.1 及以后 对于 Toast 的 show 方法 加入了 IBinder token 限制。如果 targetSdkVersion 大于 25。会导致Toast 校验 token,从而引发 崩溃。如果 targetSdkVersion 小于 26。经测试可以在所有android 版本正常弹出Toast(可绕过通知权限)。
如果能构造一个 合法的 IBinder token 就完美了。束手无策求大神完善
The text was updated successfully, but these errors were encountered:
个人认为走“后门”并不好。系统定义了这些权限就应该引导用户去开启权限,虽然会给交互层面带来不小的影响。
最难受的是国内 rom 的定制让人无暇兼顾。
Sorry, something went wrong.
No branches or pull requests
https://github.com/xiaogaofudao/Android-Widget/blob/master/toast/src/main/java/com/gaogeek/toast/Toast.java
经测试。发现 Android 7.1.1 及以后 对于 Toast 的 show 方法 加入了 IBinder token 限制。如果 targetSdkVersion 大于 25。会导致Toast 校验 token,从而引发 崩溃。如果 targetSdkVersion 小于 26。经测试可以在所有android 版本正常弹出Toast(可绕过通知权限)。
如果能构造一个 合法的 IBinder token 就完美了。束手无策求大神完善
The text was updated successfully, but these errors were encountered: