onesignal-expo-plugin 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
<!-- START -->
|
|
2
|
+
# READ AND DELETE THIS SECTION BEFORE SUBMITTING PR
|
|
3
|
+
* **Fill out each _REQUIRED_ section**
|
|
4
|
+
* **Fill out _OPTIONAL_ sections, remove section if it doesn't apply to your PR**
|
|
5
|
+
* **Read and fill out each of the checklists below**
|
|
6
|
+
* **Remove this section after reading**
|
|
7
|
+
<!-- END -->
|
|
8
|
+
|
|
9
|
+
# Description
|
|
10
|
+
## One Line Summary
|
|
11
|
+
**REQUIRED** - Very short description that summaries the changes in this PR.
|
|
12
|
+
|
|
13
|
+
## Details
|
|
14
|
+
|
|
15
|
+
### Motivation
|
|
16
|
+
**REQUIRED -** Why is this code change being made? Or what is the goal of this PR? Examples: Fixes a specific bug, provides additional logging to debug future issues, feature to allow X.
|
|
17
|
+
|
|
18
|
+
### Scope
|
|
19
|
+
**RECOMMEND - OPTIONAL -** What is intended to be effected. What is known not to change. Example: Notifications are grouped when parameter X is set, not enabled by default.
|
|
20
|
+
|
|
21
|
+
### OPTIONAL - Other
|
|
22
|
+
**OPTIONAL -** Feel free to add any other sections or sub-sections that can explain your PR better.
|
|
23
|
+
|
|
24
|
+
# Testing
|
|
25
|
+
|
|
26
|
+
## Manual testing
|
|
27
|
+
**REQUIRED -** Explain what scenarios were tested and the environment.
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# Checklist
|
|
31
|
+
## Overview
|
|
32
|
+
- [ ] I have filled out all **REQUIRED** sections above
|
|
33
|
+
- [ ] PR does one thing
|
|
34
|
+
- If it is hard to explain how any codes changes are related to each other then it most likely needs to be more than one PR
|
|
35
|
+
- [ ] Any Public API changes are explained in the PR details and conform to existing APIs
|
|
36
|
+
|
|
37
|
+
## Testing
|
|
38
|
+
- [ ] I have personally tested this on my device, or explained why that is not possible
|
|
39
|
+
- [ ] I have tested this on the latest version of the plugin
|
|
40
|
+
- [ ] I have tested this on both Android and iOS, or explained why that is not possible
|
|
41
|
+
|
|
42
|
+
## Final pass
|
|
43
|
+
- [ ] Code is as readable as possible.
|
|
44
|
+
- Simplify with less code, followed by splitting up code into well named functions and variables, followed by adding comments to the code.
|
|
45
|
+
- [ ] I have reviewed this PR myself, ensuring it meets each checklist item
|
|
46
|
+
- WIP (Work In Progress) is ok, but explain what is still in progress and what you would like feedback on. Start the PR title with "WIP" to indicate this.
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
|
3
3
|
|
|
4
|
+
## October 2022
|
|
5
|
+
### `1.1.2` - 10/04/22
|
|
6
|
+
#### Fixes
|
|
7
|
+
- Specify `use_frameworks` on `OneSignalNotificationServiceExtension` target in iOS Podfile when applicable (i.e. the app target also specifies `use_frameworks`).
|
|
8
|
+
|
|
9
|
+
## September 2022
|
|
10
|
+
### `1.1.1` - 09/06/22
|
|
11
|
+
#### Fixes
|
|
12
|
+
- Fix issue where EAS release builds were no longer successfully building due to log statement
|
|
13
|
+
|
|
14
|
+
### `1.1.0` - 09/01/22
|
|
15
|
+
#### Changes
|
|
16
|
+
- No longer inject the OneSignal Gradle plugin on Android builds
|
|
17
|
+
#### Fixes
|
|
18
|
+
- Fix issue where plugin does not support monorepos
|
|
19
|
+
|
|
4
20
|
## April 2022
|
|
5
21
|
### `1.0.1` - 04/11/22
|
|
6
22
|
|
|
@@ -5,7 +5,11 @@
|
|
|
5
5
|
*/
|
|
6
6
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
7
|
if (k2 === undefined) k2 = k;
|
|
8
|
-
Object.
|
|
8
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
+
}
|
|
12
|
+
Object.defineProperty(o, k2, desc);
|
|
9
13
|
}) : (function(o, m, k, k2) {
|
|
10
14
|
if (k2 === undefined) k2 = k;
|
|
11
15
|
o[k2] = m[k];
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -6,6 +6,7 @@ exports.TARGETED_DEVICE_FAMILY = `"1,2"`;
|
|
|
6
6
|
exports.NSE_PODFILE_SNIPPET = `
|
|
7
7
|
target 'OneSignalNotificationServiceExtension' do
|
|
8
8
|
pod 'OneSignalXCFramework', '>= 3.0', '< 4.0'
|
|
9
|
+
use_frameworks! :linkage => podfile_properties['ios.useFrameworks'].to_sym if podfile_properties['ios.useFrameworks']
|
|
9
10
|
end`;
|
|
10
11
|
exports.NSE_PODFILE_REGEX = /target 'OneSignalNotificationServiceExtension'/;
|
|
11
12
|
exports.GROUP_IDENTIFIER_TEMPLATE_REGEX = /{{GROUP_IDENTIFIER}}/gm;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "onesignal-expo-plugin",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "The OneSignal Expo plugin allows you to use OneSignal without leaving the managed workflow. Developed in collaboration with SweetGreen.",
|
|
5
5
|
"main": "./app.plugin.js",
|
|
6
6
|
"scripts": {
|
package/support/iosConstants.ts
CHANGED
|
@@ -4,6 +4,7 @@ export const TARGETED_DEVICE_FAMILY = `"1,2"`;
|
|
|
4
4
|
export const NSE_PODFILE_SNIPPET = `
|
|
5
5
|
target 'OneSignalNotificationServiceExtension' do
|
|
6
6
|
pod 'OneSignalXCFramework', '>= 3.0', '< 4.0'
|
|
7
|
+
use_frameworks! :linkage => podfile_properties['ios.useFrameworks'].to_sym if podfile_properties['ios.useFrameworks']
|
|
7
8
|
end`;
|
|
8
9
|
|
|
9
10
|
export const NSE_PODFILE_REGEX = /target 'OneSignalNotificationServiceExtension'/;
|