-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
38 lines (38 loc) · 1.11 KB
/
package.json
File metadata and controls
38 lines (38 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"name": "perry-push",
"version": "0.1.0",
"description": "Push notification bindings for Perry apps (APNs on iOS/macOS)",
"license": "MIT",
"main": "src/index.ts",
"repository": {
"type": "git",
"url": "https://github.com/perryts/push"
},
"keywords": ["perry", "push-notifications", "apns", "ios", "macos"],
"perry": {
"nativeLibrary": {
"functions": [
{ "name": "perry_push_request_permission", "params": [], "returns": "f64" },
{ "name": "perry_push_get_token", "params": [], "returns": "f64" },
{ "name": "perry_push_set_badge", "params": ["i64"], "returns": "f64" }
],
"targets": {
"ios": {
"crate": "crate-ios",
"lib": "libperry_push.a",
"frameworks": ["Foundation", "UIKit", "UserNotifications"]
},
"android": {
"crate": "crate-stub",
"lib": "libperry_push.a",
"frameworks": []
},
"macos": {
"crate": "crate-ios",
"lib": "libperry_push.a",
"frameworks": ["Foundation", "AppKit", "UserNotifications"]
}
}
}
}
}