mx-jpush-expo
Version:
Expo 集成极光推送(JPush)一体化解决方案,支持 iOS/Android 厂商通道
28 lines • 752 B
TypeScript
/**
* 配置管理工具
*/
import { VendorChannelConfig } from '../types';
declare global {
var __JPUSH_CONFIG__: {
appKey: string;
channel: string;
packageName: string;
apsForProduction: boolean;
vendorChannels?: VendorChannelConfig;
} | undefined;
}
/**
* 设置全局配置
*/
export declare function setConfig(appKey: string, channel: string, packageName: string, apsForProduction: boolean, vendorChannels?: VendorChannelConfig): void;
/**
* 获取全局配置
*/
export declare function getConfig(): {
appKey: string;
channel: string;
packageName: string;
apsForProduction: boolean;
vendorChannels?: VendorChannelConfig;
} | undefined;
//# sourceMappingURL=config.d.ts.map