Skip to content

Commit f2283c9

Browse files
That's no typo
1 parent 7afe2a8 commit f2283c9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

packages/capacitor/PowerSyncCapacitor.podspec

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

55
Pod::Spec.new do |s|
6-
s.name = 'PowerSyncCapacitor'
6+
# This is not a typo. Capacitor determines the plugin name from the npm package name.
7+
# The case is sensitive.
8+
s.name = 'PowersyncCapacitor'
79
version = package['version']
810
if version.include?('-dev')
911
s.version = '0.0.0'

packages/capacitor/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"ios/Sources",
1818
"ios/Tests",
1919
"Package.swift",
20-
"PowerSyncCapacitor.podspec"
20+
"PowersyncCapacitor.podspec"
2121
],
2222
"author": "",
2323
"license": "Apache-2.0",
@@ -74,7 +74,9 @@
7474
},
7575
"swiftlint": "@ionic/swiftlint-config",
7676
"capacitor": {
77+
"name": "PowerSyncCapacitor",
7778
"ios": {
79+
"name": "PowerSyncCapacitor",
7880
"src": "ios"
7981
},
8082
"android": {

0 commit comments

Comments
 (0)