@qafka/react-native-cms 0.0.0-stage → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,13 @@
1
+ // Empty placeholder — do NOT edit, and the CLI does NOT overwrite this anymore.
2
+ //
3
+ // It only guarantees Metro can resolve the package-internal `require`. The real
4
+ // dev key is written by `qafka cms project` to the consumer project root
5
+ // (`.qafkacms/qafkacms-runtime.js`) and passed into createClient via
6
+ // `devConfig: __DEV__ ? require('./.qafkacms/qafkacms-runtime') : undefined`,
7
+ // which takes precedence over this file. node_modules is avoided because it is
8
+ // wiped on every install. In release builds `__DEV__` strips it all.
9
+ module.exports = {
10
+ defaultProjectId: undefined,
11
+ apiUrl: undefined,
12
+ projects: {},
13
+ };
@@ -0,0 +1,20 @@
1
+ require "json"
2
+
3
+ package = JSON.parse(File.read(File.join(__dir__, "package.json")))
4
+
5
+ Pod::Spec.new do |s|
6
+ s.name = "react-native-qafkacms"
7
+ s.version = package["version"]
8
+ s.summary = package["description"]
9
+ s.homepage = "https://qafkacms.com"
10
+ s.license = "UNLICENSED"
11
+ s.authors = "QafkaCMS"
12
+ s.platforms = { :ios => "14.0" }
13
+ s.source = { :git => "https://github.com/qafkacms/react-native-qafkacms.git", :tag => "#{s.version}" }
14
+
15
+ s.source_files = "ios/**/*.{h,m,mm,swift}"
16
+ # DeviceCheck: App Attest (DCAppAttestService). Security: Keychain.
17
+ # UserNotifications: APNs permission + token collection (E57). No Firebase iOS.
18
+ s.frameworks = "DeviceCheck", "Security", "UserNotifications"
19
+ s.dependency "React-Core"
20
+ end
@@ -0,0 +1,17 @@
1
+ // React Native autolinking configuration. Registers the native modules
2
+ // (QafkaCmsAttestation, QafkaCmsStorage) so the consumer app links them on
3
+ // `pod install` (iOS) / Gradle sync (Android) without manual wiring.
4
+ module.exports = {
5
+ dependency: {
6
+ platforms: {
7
+ ios: {
8
+ podspecPath: './react-native-qafkacms.podspec',
9
+ },
10
+ android: {
11
+ sourceDir: './android',
12
+ packageImportPath: 'import com.qafkacms.QafkaCmsPackage;',
13
+ packageInstance: 'new QafkaCmsPackage()',
14
+ },
15
+ },
16
+ },
17
+ };