mx-jpush-expo
Version:
Expo 集成极光推送(JPush)一体化解决方案,支持 iOS/Android 厂商通道
23 lines • 767 B
JavaScript
;
/**
* iOS 配置集成
* 参考: https://juejin.cn/post/7554288083597885467
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.withIOSConfig = withIOSConfig;
const infoPlist_1 = require("./infoPlist");
const appDelegate_1 = require("./appDelegate");
const bridgingHeader_1 = require("./bridgingHeader");
/**
* 应用所有 iOS 配置
* @param config - Expo config
* @param props - 已归一化的插件配置
* @returns Modified config
*/
function withIOSConfig(config, props) {
config = (0, infoPlist_1.withIosInfoPlist)(config, props);
config = (0, appDelegate_1.withIosAppDelegate)(config);
config = (0, bridgingHeader_1.withIosBridgingHeader)(config);
return config;
}
//# sourceMappingURL=index.js.map