Closed FilipGimpel closed 9 months ago
Hi @FilipGimpel, this is an interesting bug. The SDK uses Jetpack Startup for initializing DeviceTokenProvider, so it's surprising that it doesn't get initialized before Hilt injection. I will look into this shortly.
@FilipGimpel, this issue should be fixed in version 1.2.1.
Describe the bug?
Exception originating from the library crashes the app when instantiating OidcConfiguration.
What is expected to happen?
App doesn't crash
What is the actual behavior?
App crashes and the issue seems to be that DeviceTokenInitalizer doesn't initialize DeviceTokenProvider, which results in Exception
Reproduction Steps?
I added the following packages as dependencies:
Im trying to set up OidcConfiguration in my
Application
class:Additional Information?
1) I am using hilt to inject Application class, thought this error persists when I move the instantiation code elsewhere 2) I am using gradle 7.6.1 3) I have a separate sample project using gradle 8+ without hilt and and it works just fine
SDK Version and Artifact(s) used.
Build Information
No response