Repository navigation
Expand file tree
/
Copy pathnativephp.json
More file actions
49 lines (49 loc) · 1.49 KB
/
Copy pathnativephp.json
File metadata and controls
49 lines (49 loc) · 1.49 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
{
"namespace": "Browser",
"bridge_functions": [
{
"name": "Browser.Open",
"android": "com.nativephp.browser.BrowserFunctions.Open",
"ios": "BrowserFunctions.Open",
"description": "Open a URL in the system's default browser"
},
{
"name": "Browser.OpenInApp",
"android": "com.nativephp.browser.BrowserFunctions.OpenInApp",
"ios": "BrowserFunctions.OpenInApp",
"description": "Open a URL in an in-app browser (SFSafariViewController/Chrome Custom Tabs)"
},
{
"name": "Browser.OpenAuth",
"android": "com.nativephp.browser.BrowserFunctions.OpenAuth",
"ios": "BrowserFunctions.OpenAuth",
"description": "Open a URL for OAuth authentication"
}
],
"android": {
"min_version": 26,
"init_function": "com.nativephp.browser.browserPluginInit",
"permissions": [],
"activities": [
{
"name": ".AuthTabActivity",
"exported": false,
"theme": "@android:style/Theme.Translucent.NoTitleBar"
}
],
"dependencies": {
"implementation": [
"androidx.browser:browser:1.8.0"
]
}
},
"ios": {
"min_version": "18.2",
"info_plist": {},
"dependencies": {
"swift_packages": [],
"pods": []
}
},
"events": []
}