Open ghost opened 4 years ago
use 3.0.4 is ok, may have been removed some classes in 3.0.6
Hi @IvesWang @398049343 ,
This is available in RxJava 3.0.6 so this is probably something else. (see here: https://github.com/ReactiveX/RxJava/blob/v3.0.6/src/main/java/io/reactivex/rxjava3/internal/jdk8/ObservableFirstStageObserver.java) @398049343 can you prepare minimum working example and post somewhere the code so we can look at it?
@galuszkak The code is very simple, but the above log will appear on this model.But it won't lead to any collapse.
class MainActivity : AppCompatActivity() {
lateinit var mBinding: ActivityMainBinding
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
mBinding = DataBindingUtil.setContentView(this, R.layout.activity_main)
setContentView(mBinding.root)
btn.setOnClickListener {
RxPermissions(this).request(Manifest.permission.CAMERA)
.subscribe {
}
}
}
}
// RxJava
implementation 'io.reactivex.rxjava3:rxjava:3.0.6'
// RxPermissions
implementation 'com.github.tbruyelle:rxpermissions:0.12'
Huawei mobile phones always have strange problems
@IvesWang The log will also appear in version 3.0.4. Huawei's mobile phone system is very strange
Device
Issue description
Manifest.permission.READ_CONTACTS
permission, the log is as follows, and the APP does not crash at this time.