Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1f6139a

Browse files
committedMar 18, 2025
fix: podspec
1 parent 9537279 commit 1f6139a

File tree

3 files changed

+3
-21
lines changed

3 files changed

+3
-21
lines changed
 

‎CapacitorExitApp.podspec ‎JimcaseCapacitorExitApp.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ require 'json'
33
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
44

55
Pod::Spec.new do |s|
6-
s.name = 'CapacitorExitApp'
6+
s.name = 'JimcaseCapacitorExitApp'
77
s.version = package['version']
88
s.summary = package['description']
99
s.license = package['license']

‎README.md

+1-19
Original file line numberDiff line numberDiff line change
@@ -26,24 +26,6 @@ npx cap sync
2626
exitApp() => Promise<void>
2727
```
2828

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+
--------------------
4830

4931
</docgen-api>

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "capacitor-exit-app",
2+
"name": "@jimcase/capacitor-exit-app",
33
"version": "1.0.3",
44
"description": "This package has the ability to shut down the app in the capacitor environment.",
55
"main": "dist/plugin.cjs.js",

0 commit comments

Comments
 (0)