onesignal-expo-plugin
Advanced tools
Comparing version
"use strict"; | ||
/** | ||
* Expo config plugin for One Signal (Android) | ||
* Expo config plugin for OneSignal (Android) | ||
* @see https://documentation.onesignal.com/docs/react-native-sdk-setup#step-4-install-for-ios-using-cocoapods-for-ios-apps | ||
@@ -5,0 +5,0 @@ */ |
@@ -8,7 +8,3 @@ "use strict"; | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
@@ -15,0 +11,0 @@ if (k2 === undefined) k2 = k; |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
@@ -10,0 +6,0 @@ if (k2 === undefined) k2 = k; |
@@ -8,3 +8,3 @@ "use strict"; | ||
target 'OneSignalNotificationServiceExtension' do | ||
pod 'OneSignalXCFramework', '>= 3.0', '< 4.0' | ||
pod 'OneSignalXCFramework', '>= 5.0', '< 6.0' | ||
use_frameworks! :linkage => podfile_properties['ios.useFrameworks'].to_sym if podfile_properties['ios.useFrameworks'] | ||
@@ -11,0 +11,0 @@ end`; |
/** | ||
* Expo config plugin for One Signal (Android) | ||
* Expo config plugin for OneSignal (Android) | ||
* @see https://documentation.onesignal.com/docs/react-native-sdk-setup#step-4-install-for-ios-using-cocoapods-for-ios-apps | ||
@@ -16,4 +16,4 @@ */ | ||
// The name of each small icon folder resource, and the icon size for that folder. | ||
const SMALL_ICON_DIRS_TO_SIZE: { [name: string]: number } = { | ||
'drawable-mdpi': 24, | ||
const SMALL_ICON_DIRS_TO_SIZE: { [name: string]: number } = { | ||
'drawable-mdpi': 24, | ||
'drawable-hdpi': 36, | ||
@@ -26,3 +26,3 @@ 'drawable-xhdpi': 48, | ||
// The name of each large icon folder resource, and the icon size for that folder. | ||
const LARGE_ICON_DIRS_TO_SIZE: { [name: string]: number } = { | ||
const LARGE_ICON_DIRS_TO_SIZE: { [name: string]: number } = { | ||
'drawable-xxxhdpi': 256 | ||
@@ -29,0 +29,0 @@ }; |
{ | ||
"name": "onesignal-expo-plugin", | ||
"version": "1.3.2", | ||
"version": "2.0.0", | ||
"description": "The OneSignal Expo plugin allows you to use OneSignal without leaving the managed workflow. Developed in collaboration with SweetGreen.", | ||
@@ -28,3 +28,4 @@ "main": "./app.plugin.js", | ||
"Charlie Cruzan", | ||
"Wojciech Kozyra" | ||
"Wojciech Kozyra", | ||
"Brian Smith" | ||
], | ||
@@ -31,0 +32,0 @@ "license": "MIT", |
@@ -6,3 +6,3 @@ export const IPHONEOS_DEPLOYMENT_TARGET = "11.0"; | ||
target 'OneSignalNotificationServiceExtension' do | ||
pod 'OneSignalXCFramework', '>= 3.0', '< 4.0' | ||
pod 'OneSignalXCFramework', '>= 5.0', '< 6.0' | ||
use_frameworks! :linkage => podfile_properties['ios.useFrameworks'].to_sym if podfile_properties['ios.useFrameworks'] | ||
@@ -9,0 +9,0 @@ end`; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
89874
-0.32%1042
-0.76%