UNPKG

@parse/push-adapter

Version:
24 lines (20 loc) 750 B
"use strict"; // ParsePushAdapter is the default implementation of // PushAdapter, it uses GCM for android push, APNS for ios push. // WEB for web push. import log from 'npmlog'; import { booleanParser } from './utils.js'; /* c8 ignore start */ if (booleanParser(process.env.VERBOSE || process.env.VERBOSE_PARSE_SERVER_PUSH_ADAPTER)) { log.level = 'verbose'; } /* c8 ignore stop */ import ParsePushAdapter from './ParsePushAdapter.js'; import APNS from './APNS.js'; import APNSNative from './APNSNative.js'; import WEB from './WEB.js'; import FCM from './FCM.js'; import EXPO from './EXPO.js'; import * as utils from './PushAdapterUtils.js'; export default ParsePushAdapter; export { ParsePushAdapter, APNS, APNSNative, WEB, EXPO, FCM, utils };