File tree 3 files changed +3
-21
lines changed
3 files changed +3
-21
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ require 'json'
3
3
package = JSON . parse ( File . read ( File . join ( __dir__ , 'package.json' ) ) )
4
4
5
5
Pod ::Spec . new do |s |
6
- s . name = 'CapacitorExitApp '
6
+ s . name = 'JimcaseCapacitorExitApp '
7
7
s . version = package [ 'version' ]
8
8
s . summary = package [ 'description' ]
9
9
s . license = package [ 'license' ]
Original file line number Diff line number Diff line change @@ -26,24 +26,6 @@ npx cap sync
26
26
exitApp () => Promise < void >
27
27
```
28
28
29
- ##### It will execute the following native code:
30
- #### iOS
31
- ``` swift
32
- @objc func exitApp (_ call : CAPPluginCall) {
33
- DispatchQueue.main .async {
34
- exit (0 )
35
- }
36
- call.resolve ()
37
- }
38
- ```
39
-
40
- #### Android
41
- ``` java
42
- public void exitApp(PluginCall call) {
43
- unsetAppListeners();
44
- call. resolve();
45
- System . exit(0 );
46
- }
47
- ```
29
+ --------------------
48
30
49
31
</docgen-api >
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " capacitor-exit-app" ,
2
+ "name" : " @jimcase/ capacitor-exit-app" ,
3
3
"version" : " 1.0.3" ,
4
4
"description" : " This package has the ability to shut down the app in the capacitor environment." ,
5
5
"main" : " dist/plugin.cjs.js" ,
You can’t perform that action at this time.
0 commit comments