package Ġcom . applic aster . opt a . stat ss creen plugin . react native Ċ Ċ import Ġcom . applic aster . opt a . stat ss creen plugin . Opt a Stats Contract Ċ import Ġcom . applic aster . opt a . stat ss creen plugin . utils . Constants Ċ import Ġcom . applic aster . plugin _ manager . PluginManager Ċ import Ġcom . facebook . react . React Package Ċ import Ġcom . facebook . react . bridge . Native Module Ċ import Ġcom . facebook . react . bridge . React ApplicationContext Ċ import Ġcom . facebook . react . u im an ager . View Manager Ċ Ċ class ĠOpt a Package Ġ: ĠReact Package Ġ{ ĊĊĠĠĠ Ġinit Ġ{ ĊĠĠĠĠĠĠĠ Ġ// Ġhack Ġto Ġforce Ġupdate Ġparams ĊĠĠĠĠĠĠĠ ĠPlugin Manager . getInstance (). get Initi ated Plugin ( Constants . PLUGIN _ ID )?. let Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ( it . instance Ġas ĠOpt a Stats Contract ). set Plugin Configuration ( it . plugin . configuration ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġcreate Native Modules ( react Context : ĠReact ApplicationContext ): ĠList < Native Module > Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠ ĠlistOf < Native Module >( Opt a Bridge ( react Context )) ĊĊĠĠĠ Ġoverride Ġfun Ġcreate View Managers ( react Context : ĠReact ApplicationContext ): ĠList < View Manager < *, Ġ* >> Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠ ĠlistOf ( Opt a Stats View Manager ( react Context ), ĠOpt a Team View Manager ( react Context )) Ċ }