rive-app / rive-android

A runtime for interactive animations on Android
https://rive.app
MIT License
332 stars 30 forks source link

Animation Not Showing #310

Closed srdrakcay closed 6 months ago

srdrakcay commented 7 months ago

Hello I'm using rive for my company and I have a issue. First time it was a crash and its says "No Artboard Found" After I was update rive versions this bug fixed but now there is no animations .I opened a new project and created the rive in that project animations playing but in my company project not working there is no error about this issue here my code and versions;

 private fun setAnimations(url: String) {
        Rive.init(requireContext())
        vm.byteLiveData.observe(
            this,
            Observer { bytes ->
                animationView.setRiveBytes(
                    bytes,
                    fit = Fit.COVER,

                    )
            }
        )
        vm.fetchUrl(url)
    }
    implementation("app.rive:rive-android:9.0.7")
    implementation ("androidx.startup:startup-runtime:1.1.1")

Let me know if anyone can hel me about this