Repository navigation
Expand file tree
/
Copy pathnativephp.json
More file actions
88 lines (88 loc) · 2.92 KB
/
Copy pathnativephp.json
File metadata and controls
88 lines (88 loc) · 2.92 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"name": "nativephp/mobile-ota",
"description": "Over-the-air PHP payload updates for NativePHP Mobile",
"namespace": "Ota",
"keywords": [
"ota",
"updates"
],
"category": "utilities",
"license": "MIT",
"pricing": {
"type": "free"
},
"author": {
"name": "NativePHP",
"email": "support@nativephp.com"
},
"platforms": [
"android",
"ios"
],
"bridge_functions": [
{
"name": "Ota.Check",
"android": "com.nativephp.plugins.mobile_ota.OtaFunctions.Check",
"ios": "OtaFunctions.Check",
"description": "Ask Bifrost GET /api/v1/apps/{project}/{arc}/{fingerprint} whether a newer release is waiting for this shell"
},
{
"name": "Ota.Download",
"android": "com.nativephp.plugins.mobile_ota.OtaFunctions.Download",
"ios": "OtaFunctions.Download",
"description": "Download an OTA zip to core updates/pending.zip for next-boot apply"
},
{
"name": "Ota.Apply",
"android": "com.nativephp.plugins.mobile_ota.OtaFunctions.Apply",
"ios": "OtaFunctions.Apply",
"description": "Queue the pending zip for core to extract on the next boot"
},
{
"name": "Ota.Rollback",
"android": "com.nativephp.plugins.mobile_ota.OtaFunctions.Rollback",
"ios": "OtaFunctions.Rollback",
"description": "Re-drop the last pending zip as updates/pending.zip for next-boot apply"
},
{
"name": "Ota.GetStatus",
"android": "com.nativephp.plugins.mobile_ota.OtaFunctions.GetStatus",
"ios": "OtaFunctions.GetStatus",
"description": "Last downloaded version and whether a pending zip is queued for next boot"
},
{
"name": "Ota.Prompt",
"android": "com.nativephp.plugins.mobile_ota.OtaFunctions.Prompt",
"ios": "OtaFunctions.Prompt",
"description": "Check in the background and, when a release is waiting, ask Later / Update once the app is on screen"
}
],
"android": {
"min_version": 26,
"permissions": [
"android.permission.INTERNET",
"android.permission.ACCESS_NETWORK_STATE"
],
"dependencies": {
"implementation": []
}
},
"ios": {
"min_version": "18.2",
"dependencies": {
"swift_packages": [],
"pods": []
}
},
"secrets": [],
"events": [
"Nativephp\\MobileOta\\Events\\UpdateAvailable",
"Nativephp\\MobileOta\\Events\\UpdateDownloaded",
"Nativephp\\MobileOta\\Events\\UpdateApplied",
"Nativephp\\MobileOta\\Events\\UpdateFailed",
"Nativephp\\MobileOta\\Events\\RolledBack"
],
"hooks": {
"copy_assets": "nativephp:ota:copy-assets"
}
}