@usergist/feedback-react-native 0.1.0 → 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.
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
All notable changes to `@usergist/feedback-react-native` are documented here.
|
|
4
4
|
Releases use [Semantic Versioning](https://semver.org/).
|
|
5
5
|
|
|
6
|
+
## 0.1.1
|
|
7
|
+
|
|
8
|
+
- Remove the unused codegen declaration referencing unpublished sources, fixing native build setup without app-local CocoaPods workarounds.
|
|
9
|
+
- Preserve the shipped iOS and Android native bridges and the existing core dependency.
|
|
10
|
+
- Validate native bridge files and React Native codegen discovery against the release archive.
|
|
11
|
+
|
|
6
12
|
## 0.1.0
|
|
7
13
|
|
|
8
14
|
- Initial production React Native SDK.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NativeUserGistPush.d.ts","sourceRoot":"","sources":["../src/NativeUserGistPush.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NativeUserGistPush.d.ts","sourceRoot":"","sources":["../src/NativeUserGistPush.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAG/C,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,6BAA6B,CAAC,EAAE,OAAO,CAAA;IAChD,QAAQ,CAAC,WAAW,CAAC,EAAE,SAAS,GAAG,YAAY,CAAA;IAC/C,qFAAqF;IACrF,QAAQ,CAAC,oBAAoB,CAAC,EAAE,OAAO,CAAA;CACxC;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,MAAM,EAAE,YAAY,GAAG,aAAa,GAAG,QAAQ,GAAG,gBAAgB,CAAA;IAC3E,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,QAAQ,EAAE,K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, `src/native/push-bridge.ts` first tries
|
|
8
|
-
// `TurboModuleRegistry.getEnforcing<Spec>('UserGistPush')` and falls back
|
|
9
|
-
// to `NativeModules.UserGistPush` so the package works in both
|
|
10
|
-
// architectures (RN 0.72 → 0.79+).
|
|
1
|
+
// Typed runtime lookup for the UserGist native bridge, not a codegen input.
|
|
2
|
+
// Both native implementations ship their own bridge registration and do not
|
|
3
|
+
// implement generated spec classes. Do not advertise this file through
|
|
4
|
+
// codegenConfig unless the native implementations are migrated as well.
|
|
5
|
+
// `src/native/push-bridge.ts` falls back to NativeModules.UserGistPush when
|
|
6
|
+
// this optional TurboModuleRegistry lookup returns null.
|
|
11
7
|
import { TurboModuleRegistry } from 'react-native';
|
|
12
8
|
export default TurboModuleRegistry.get('UserGistPush');
|
|
13
9
|
//# sourceMappingURL=NativeUserGistPush.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NativeUserGistPush.js","sourceRoot":"","sources":["../src/NativeUserGistPush.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"NativeUserGistPush.js","sourceRoot":"","sources":["../src/NativeUserGistPush.ts"],"names":[],"mappings":"AAAA,4EAA4E;AAC5E,4EAA4E;AAC5E,uEAAuE;AACvE,wEAAwE;AACxE,4EAA4E;AAC5E,yDAAyD;AAGzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAA;AAsClD,eAAe,mBAAmB,CAAC,GAAG,CAAO,cAAc,CAAC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IngestContext, SdkPlatform } from '@usergist/sdk-core/mobile';
|
|
2
|
-
export declare const USERGIST_SDK_VERSION = "0.1.
|
|
2
|
+
export declare const USERGIST_SDK_VERSION = "0.1.1";
|
|
3
3
|
export interface ContextProvider {
|
|
4
4
|
readonly build: (params: {
|
|
5
5
|
readonly anonymousId: string;
|
package/dist/internal/context.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Builds IngestContext for outgoing batches.
|
|
2
2
|
// Pulls from react-native Platform + NativeModules when available. All lookups
|
|
3
3
|
// are defensive — if a host doesn't expose a field, we simply omit it.
|
|
4
|
-
export const USERGIST_SDK_VERSION = '0.1.
|
|
4
|
+
export const USERGIST_SDK_VERSION = '0.1.1';
|
|
5
5
|
function loadPlatform() {
|
|
6
6
|
try {
|
|
7
7
|
const rn = require('react-native');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usergist/feedback-react-native",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "userGist feedback + push SDK for React Native (self-contained, no Firebase/OneSignal/WonderPush required)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://usergist.com/docs/sdks/react-native",
|
|
@@ -71,19 +71,11 @@
|
|
|
71
71
|
"vitest": "^2.1.0",
|
|
72
72
|
"typescript": "^5.5.4"
|
|
73
73
|
},
|
|
74
|
-
"codegenConfig": {
|
|
75
|
-
"name": "RNUserGistPushSpec",
|
|
76
|
-
"type": "modules",
|
|
77
|
-
"jsSrcsDir": "src",
|
|
78
|
-
"android": {
|
|
79
|
-
"javaPackageName": "studio.usergist.feedback"
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
74
|
"scripts": {
|
|
83
75
|
"build": "tsc",
|
|
84
76
|
"dev": "tsc --watch",
|
|
85
77
|
"test": "vitest run",
|
|
86
78
|
"typecheck": "tsc --noEmit",
|
|
87
|
-
"pack:check": "
|
|
79
|
+
"pack:check": "node scripts/check-package.mjs"
|
|
88
80
|
}
|
|
89
81
|
}
|