Repository navigation
Expand file tree
/
Copy pathnativephp.json
More file actions
77 lines (77 loc) · 2.77 KB
/
Copy pathnativephp.json
File metadata and controls
77 lines (77 loc) · 2.77 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
{
"namespace": "NativeWatch",
"bridge_functions": [
{
"name": "NativeWatch.PendingCrashReports",
"ios": "NativeWatchFunctions.PendingCrashReports",
"android": "com.zxn.nativewatch.mobile.NativeWatchFunctions.PendingCrashReports",
"android_params": [
"context"
],
"description": "Returns the native crash reports that wait to be sent to NativeWatch."
},
{
"name": "NativeWatch.DeleteCrashReports",
"ios": "NativeWatchFunctions.DeleteCrashReports",
"android": "com.zxn.nativewatch.mobile.NativeWatchFunctions.DeleteCrashReports",
"android_params": [
"context"
],
"description": "Deletes native crash reports after PHP stored them in the outbox."
},
{
"name": "NativeWatch.TestCrash",
"ios": "NativeWatchFunctions.TestCrash",
"android": "com.zxn.nativewatch.mobile.NativeWatchFunctions.TestCrash",
"android_params": [
"context"
],
"description": "Crashes the app on purpose, to check that crash reporting works."
},
{
"name": "NativeWatch.GetConsent",
"ios": "NativeWatchFunctions.GetConsent",
"android": "com.zxn.nativewatch.mobile.NativeWatchFunctions.GetConsent",
"android_params": [
"context"
],
"description": "Reads the persisted diagnostic consent generation."
},
{
"name": "NativeWatch.SetConsent",
"ios": "NativeWatchFunctions.SetConsent",
"android": "com.zxn.nativewatch.mobile.NativeWatchFunctions.SetConsent",
"android_params": [
"context"
],
"description": "Persists a diagnostic consent choice and removes pending native reports."
}
],
"ios": {
"min_version": "17.0",
"init_function": "NativeWatchCrashReporter.install",
"dependencies": {
"swift_packages": [
{
"url": "https://github.com/zinxan/KSCrash",
"version": "2.6.1-nativewatch.1",
"products": [
"Recording",
"RecordingCore"
]
},
{
"url": "https://github.com/apple/swift-atomics",
"version": "1.3.1",
"products": [
"Atomics"
]
}
]
}
},
"android": {
"min_version": 26,
"init_function": "com.zxn.nativewatch.mobile.installNativeWatchCrashReporter"
}
}