File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,7 @@ import {
1717} from '@rive-app/react-native' ;
1818import type { ViewModelInstance } from '@rive-app/react-native' ;
1919
20- const isExperimentalIOS =
21- Platform . OS === 'ios' && RiveFileFactory . getBackend ( ) === 'experimental' ;
20+ const isExperimental = RiveFileFactory . getBackend ( ) === 'experimental' ;
2221
2322// Bouncing ball .riv with a "ypos" ViewModel number property that changes during playback
2423// Source: https://rive.app/community/files/25997-48571-demo-for-tracking-rive-property-in-react-native/
@@ -183,8 +182,8 @@ describe('autoPlay prop (issue #138)', () => {
183182 } ) ;
184183
185184 it ( 'autoPlay={false} does not change ypos property' , async ( ) => {
186- if ( isExperimentalIOS ) {
187- return ; // experimental SDK has no pause API — RiveUIView always advances
185+ if ( isExperimental ) {
186+ return ; // experimental SDK has no pause API — always advances
188187 }
189188 const { file, instance } = await loadBouncingBall ( ) ;
190189
You can’t perform that action at this time.
0 commit comments