code: def process_events(self, data):
          
          events = bridge.loads(data)
          if self.debug:
              print("======== Py <-- Native ======")
              for event in events:
                  print(event)
              print("===========================")
          for event in events:
              if event[0] == 'event':
                  self.handle_event(event)
docs: The native implementation must use this call to