Page MenuHomePhabricator

[native] Stop using ReanimatedJSIModulePackage on Android
ClosedPublic

Authored by ashoat on Apr 15 2024, 4:41 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 23, 1:02 AM
Unknown Object (File)
Sun, Nov 3, 10:07 AM
Unknown Object (File)
Oct 13 2024, 12:41 AM
Unknown Object (File)
Oct 13 2024, 12:41 AM
Unknown Object (File)
Oct 13 2024, 12:41 AM
Unknown Object (File)
Oct 13 2024, 12:41 AM
Unknown Object (File)
Oct 13 2024, 12:41 AM
Unknown Object (File)
Oct 3 2024, 11:43 PM
Subscribers
None

Details

Summary

While investigating ENG-7696, I noticed this log being printed:

[REANIMATED]: Since 2.5.0, Reanimated autoinstalls on Android - you can remove getJSIModulePackage() override in MainApplication.java.

It looks like it's coming from here, which confirms that ReanimatedJSIModulePackage is no longer doing anything and is deprecated.

This diff replaces our extension of ReanimatedJSIModulePackage with an implementation of its interface JSIModulePackage.

Depends on D11660

Test Plan
  1. Confirm that Reanimated still works in Android simulator
  2. Confirm that the log message is no longer printed

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage