in src/index.tsx [330:342]
export function turnOnIOSDebug(): Promise<PushResult> {
if (Platform.OS !== 'ios') {
let result = {
code: kAliyunPushOnlyIOS,
errorMsg: 'Only Support iOS',
};
return new Promise((resolve, _) => {
resolve(result);
});
}
return AliyunPush.turnOnDebug();
}