Closed tarek360 closed 1 year ago
Some companies don't let the rive file URLs without authentication, that's why they need to send headers in the network request.
Example of how to use:
RiveAnimation.network( 'https://cdn.rive.app/animations/vehicles.riv', headers: {'Authorization': '{token}'}, )
The same idea is in the flutter_svg package
flutter_svg
this has been applied to our upstream repo and pushed down & deployed for 0.11.2. thank you for the contribution @tarek360 !
Some companies don't let the rive file URLs without authentication, that's why they need to send headers in the network request.
Example of how to use:
The same idea is in the
flutter_svg
package