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
IOS, We fixed the issue with the RNBoundary.podspec
Android, We fixed the issue with startService when the app is in background and correctly handling it using a startForegroundService with a binded notification.
@woffu Your fixes seem to work! Great stuff.
But could you maybe give me an example on how to handle events when the app was killed?
I add some boundaries, I attach EXIT and ENTER listeners. Everything works while the app is in foreground or in background.
When I kill the app and leave the boundary, I can see in the React Native Debugger that the App is triggered. The console logs an onExit event from the boundary index.js file. But the listeners that I attached are not called. I guess the reason is that they were destroyed when the app was killed.
I tried to attach the listeners again on App start in my index.js file (I guess that is the earliest time I can do something) but it did not work.
Since you worked with this feature could you maybe give me an example on how you listened to ENTER/EXIT events when the app was killed?
Help is very much appreciated!
That PR has been open for months and there is no update,
I need to do the same fix for iOS (work in the background), I have merged it in my own PR #56
I wonder if we should start maintaining that project in another github?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.