handleAction static method

void handleAction(
  1. GetSocialAction action
)

Handle the provided action if it's supported.

action action to handle.

Implementation

static void handleAction(GetSocialAction action) {
  if (action.type == 'open_invites' || action.type == 'open_activity') {
    return;
  }
  NativeBridge.sync('GetSocial.handleAction', jsonEncode(action.toJSON()));
}