Open mkatenolan opened 1 year ago
Hi Martha.
I did an investigation. The bug is valid and the PR properly addresses the issue. Thanks for bringing this up! I'm going to approve the PR but we won't be able to merge it in unless you sign the Contributor Agreement. Once that's done everything else should be good to go.
I have been trying to use the CLI and browser extension to trigger lifecycle events in an app with listeners set up using
Lifecycle.listen
as described in SDK docs.I was making use of the example events in the CLI folder and kept getting the
NO-EVENT-HANDLER-REGISTERED
error code even though the server was registering listeners with messages like:Registered event listener mapping: 12345:lifecycle.onbackground
If I change the example event
method
(eg. here) from camelcase to lowercase, the event get triggered correctly. Eg.Similarly in the browser extension: eg.
It seems that either the examples are incorrect or the server is not parsing the events correctly. It would be ideal if we could use the examples out the box rather than having to update them.