export function setNotificationInGroup()

in src/index.tsx [232:244]


export function setNotificationInGroup(inGroup: boolean): Promise<PushResult> {
  if (Platform.OS === 'ios') {
    let result = {
      code: kAliyunPushOnlyAndroid,
      errorMsg: 'Only Support Android',
    };
    const promise = new Promise<PushResult>((resolve, _) => {
      resolve(result);
    });
    return promise;
  }
  return AliyunPush.setNotificationInGroup(inGroup);
}