Skip to content

Commit 4954683

Browse files
committed
Replaced dependency source from NPM.JS to OpenUPM
1 parent 1954bed commit 4954683

File tree

6 files changed

+41
-50
lines changed

6 files changed

+41
-50
lines changed

Assets/_PackageRoot/README.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Unity Mobile Notifications Simplifier
2-
![npm](https://img.shields.io/npm/v/extensions.unity.notifications) ![License](https://img.shields.io/github/license/IvanMurzak/Unity-Mobile-Notifications-Simplifier)
2+
![npm](https://img.shields.io/npm/v/extensions.unity.notifications) [![openupm](https://img.shields.io/npm/v/extensions.unity.notifications?label=openupm&registry_uri=https://package.openupm.com)](https://openupm.com/packages/extensions.unity.notifications/) ![License](https://img.shields.io/github/license/IvanMurzak/Unity-Mobile-Notifications-Simplifier) [![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua)
33

44
Ready to use Android and iOS mobile notification solution based on official Unity Mobile Notifications package. Build on top of [Unity Mobile Notifications](https://docs.unity3d.com/Packages/[email protected]/manual/index.html) package. Supported codeless usage if needed but not required.
55

@@ -15,13 +15,19 @@ Add the NotificationSender component to any object in a scene or prefab. Call th
1515

1616
![Codeless usage](https://imgur.com/kidklV8.png)
1717

18-
# How to install
18+
# How to install - Option 1 (RECOMMENDED)
19+
- Install [ODIN Inspector](https://odininspector.com/)
20+
- Install [OpenUPM-CLI](https://github.com/openupm/openupm-cli#installation)
21+
- Open command line in Unity project folder
22+
- `openupm --registry https://registry.npmjs.org add extensions.unity.notifications`
23+
24+
# How to install - Option 2
1925
- Install [ODIN Inspector](https://odininspector.com/)
2026
- Add this code to <code>/Packages/manifest.json</code>
2127
```json
2228
{
2329
"dependencies": {
24-
"extensions.unity.notifications": "1.0.5",
30+
"extensions.unity.notifications": "2.0.0",
2531
},
2632
"scopedRegistries": [
2733
{

Assets/_PackageRoot/package.json

+7-14
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,20 @@
22
"name": "extensions.unity.notifications",
33
"displayName": "Unity Notifications",
44
"author": { "name": "Ivan Murzak", "url": "https://github.com/IvanMurzak" },
5-
"version": "2.0.0",
5+
"version": "2.0.2",
66
"unity": "2019.2",
77
"description": "Unity Mobile Notifications integration.",
88
"dependencies": {
9-
"com.unity.mobile.notifications": "2.0.0",
10-
"com.cysharp.unitask": "2.2.5"
9+
"com.unity.mobile.notifications": "2.0.2",
10+
"com.cysharp.unitask": "2.3.3"
1111
},
1212
"scopedRegistries": [
1313
{
14-
"name": "Unity Extensions",
15-
"url": "https://registry.npmjs.org",
14+
"name": "package.openupm.com",
15+
"url": "https://package.openupm.com",
1616
"scopes": [
17-
"extensions.unity"
18-
]
19-
},
20-
{
21-
"name": "NPM",
22-
"url": "https://registry.npmjs.org",
23-
"scopes": [
24-
"com.cysharp",
25-
"com.neuecc"
17+
"extensions.unity",
18+
"com.cysharp"
2619
]
2720
}
2821
]

Packages/manifest.json

+7-13
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"dependencies": {
3-
"com.cysharp.unitask": "2.2.5",
4-
"com.unity.ide.visualstudio": "2.0.14",
3+
"com.cysharp.unitask": "2.3.3",
4+
"com.unity.ide.visualstudio": "2.0.17",
55
"com.unity.ide.vscode": "1.2.5",
6-
"com.unity.mobile.notifications": "2.0.0",
7-
"com.unity.test-framework": "1.1.31",
6+
"com.unity.mobile.notifications": "2.0.2",
7+
"com.unity.test-framework": "1.1.33",
88
"com.unity.ugui": "1.0.0",
99
"com.unity.modules.ai": "1.0.0",
1010
"com.unity.modules.androidjni": "1.0.0",
@@ -40,16 +40,10 @@
4040
},
4141
"scopedRegistries": [
4242
{
43-
"name": "Unity Extensions",
44-
"url": "https://registry.npmjs.org",
45-
"scopes": [
46-
"extensions.unity"
47-
]
48-
},
49-
{
50-
"name": "NPM",
51-
"url": "https://registry.npmjs.org",
43+
"name": "package.openupm.com",
44+
"url": "https://package.openupm.com",
5245
"scopes": [
46+
"extensions.unity",
5347
"com.cysharp",
5448
"com.neuecc"
5549
]

Packages/packages-lock.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"dependencies": {
33
"com.cysharp.unitask": {
4-
"version": "2.2.5",
4+
"version": "2.3.3",
55
"depth": 0,
66
"source": "registry",
77
"dependencies": {},
8-
"url": "https://registry.npmjs.org"
8+
"url": "https://package.openupm.com"
99
},
1010
"com.unity.ext.nunit": {
1111
"version": "1.0.6",
@@ -15,7 +15,7 @@
1515
"url": "https://packages.unity.com"
1616
},
1717
"com.unity.ide.visualstudio": {
18-
"version": "2.0.14",
18+
"version": "2.0.17",
1919
"depth": 0,
2020
"source": "registry",
2121
"dependencies": {
@@ -31,7 +31,7 @@
3131
"url": "https://packages.unity.com"
3232
},
3333
"com.unity.mobile.notifications": {
34-
"version": "2.0.0",
34+
"version": "2.0.2",
3535
"depth": 0,
3636
"source": "registry",
3737
"dependencies": {
@@ -40,7 +40,7 @@
4040
"url": "https://packages.unity.com"
4141
},
4242
"com.unity.test-framework": {
43-
"version": "1.1.31",
43+
"version": "1.1.33",
4444
"depth": 0,
4545
"source": "registry",
4646
"dependencies": {

ProjectSettings/PackageManagerSettings.asset

+12-14
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,11 @@ MonoBehaviour:
2424
m_Scopes: []
2525
m_IsDefault: 1
2626
m_Capabilities: 7
27-
- m_Id: scoped:Unity Extensions
28-
m_Name: Unity Extensions
29-
m_Url: https://registry.npmjs.org
27+
- m_Id: scoped:package.openupm.com
28+
m_Name: package.openupm.com
29+
m_Url: https://package.openupm.com
3030
m_Scopes:
3131
- extensions.unity
32-
m_IsDefault: 0
33-
m_Capabilities: 0
34-
- m_Id: scoped:NPM
35-
m_Name: NPM
36-
m_Url: https://registry.npmjs.org
37-
m_Scopes:
3832
- com.cysharp
3933
- com.neuecc
4034
m_IsDefault: 0
@@ -44,16 +38,20 @@ MonoBehaviour:
4438
m_RegistryInfoDraft:
4539
m_ErrorMessage:
4640
m_Original:
47-
m_Id: scoped:Unity Extensions
48-
m_Name: Unity Extensions
49-
m_Url: https://registry.npmjs.org
41+
m_Id: scoped:package.openupm.com
42+
m_Name: package.openupm.com
43+
m_Url: https://package.openupm.com
5044
m_Scopes:
5145
- extensions.unity
46+
- com.cysharp
47+
- com.neuecc
5248
m_IsDefault: 0
5349
m_Capabilities: 0
5450
m_Modified: 0
55-
m_Name: Unity Extensions
56-
m_Url: https://registry.npmjs.org
51+
m_Name: package.openupm.com
52+
m_Url: https://package.openupm.com
5753
m_Scopes:
5854
- extensions.unity
55+
- com.cysharp
56+
- com.neuecc
5957
m_SelectedScopeIndex: 0

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Unity Mobile Notifications Simplifier
2-
![npm](https://img.shields.io/npm/v/extensions.unity.notifications) ![License](https://img.shields.io/github/license/IvanMurzak/Unity-Mobile-Notifications-Simplifier) [![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua)
2+
![npm](https://img.shields.io/npm/v/extensions.unity.notifications) [![openupm](https://img.shields.io/npm/v/extensions.unity.notifications?label=openupm&registry_uri=https://package.openupm.com)](https://openupm.com/packages/extensions.unity.notifications/) ![License](https://img.shields.io/github/license/IvanMurzak/Unity-Mobile-Notifications-Simplifier) [![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua)
33

44
Ready to use Android and iOS mobile notification solution based on official Unity Mobile Notifications package. Build on top of [Unity Mobile Notifications](https://docs.unity3d.com/Packages/[email protected]/manual/index.html) package. Supported codeless usage if needed but not required.
55

0 commit comments

Comments
 (0)