You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to create a TurboModule that starts and stops a Service in the background? I have this doubt, because as TurboModule is not part of the main project and to create a class that extends Service you need to reference MainActivity and R, TurboMOdule would not have access to them. Do you have any example for this case? Sorry, I'm a bit of a noob at this part.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is it possible to create a TurboModule that starts and stops a Service in the background? I have this doubt, because as TurboModule is not part of the main project and to create a class that extends Service you need to reference MainActivity and R, TurboMOdule would not have access to them. Do you have any example for this case? Sorry, I'm a bit of a noob at this part.
Beta Was this translation helpful? Give feedback.
All reactions