@secondts/bark-react-native 0.25.0 → 0.26.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/README.md +4 -12
- package/android/CMakeLists.txt +1 -1
- package/android/build.gradle +1 -1
- package/android/proguard-rules.pro +16 -0
- package/app.plugin.js +5 -1
- package/cpp/generated/bark.cpp +519 -31
- package/cpp/generated/bark.hpp +28 -2
- package/lib/commonjs/WalletNotifications.js +7 -2
- package/lib/commonjs/WalletNotifications.js.map +1 -1
- package/lib/commonjs/generated/bark-ffi.js.map +1 -1
- package/lib/commonjs/generated/bark.js +948 -573
- package/lib/commonjs/generated/bark.js.map +1 -1
- package/lib/module/WalletNotifications.js +7 -2
- package/lib/module/WalletNotifications.js.map +1 -1
- package/lib/module/generated/bark-ffi.js.map +1 -1
- package/lib/module/generated/bark.js +948 -573
- package/lib/module/generated/bark.js.map +1 -1
- package/lib/typescript/commonjs/src/WalletNotifications.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/generated/bark-ffi.d.ts +35 -9
- package/lib/typescript/commonjs/src/generated/bark-ffi.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/generated/bark.d.ts +1595 -168
- package/lib/typescript/commonjs/src/generated/bark.d.ts.map +1 -1
- package/lib/typescript/module/src/WalletNotifications.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/bark-ffi.d.ts +35 -9
- package/lib/typescript/module/src/generated/bark-ffi.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/bark.d.ts +1595 -168
- package/lib/typescript/module/src/generated/bark.d.ts.map +1 -1
- package/package.json +5 -10
- package/scripts/postinstall.js +127 -40
- package/src/WalletNotifications.ts +7 -2
- package/src/generated/bark-ffi.ts +397 -950
- package/src/generated/bark.ts +13380 -13461
- package/lib/typescript/commonjs/plugin/src/index.d.ts +0 -11
- package/lib/typescript/commonjs/plugin/src/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/plugin/src/withAndroid.d.ts +0 -6
- package/lib/typescript/commonjs/plugin/src/withAndroid.d.ts.map +0 -1
- package/lib/typescript/commonjs/plugin/src/withIOS.d.ts +0 -7
- package/lib/typescript/commonjs/plugin/src/withIOS.d.ts.map +0 -1
- package/lib/typescript/module/plugin/src/index.d.ts +0 -11
- package/lib/typescript/module/plugin/src/index.d.ts.map +0 -1
- package/lib/typescript/module/plugin/src/withAndroid.d.ts +0 -6
- package/lib/typescript/module/plugin/src/withAndroid.d.ts.map +0 -1
- package/lib/typescript/module/plugin/src/withIOS.d.ts +0 -7
- package/lib/typescript/module/plugin/src/withIOS.d.ts.map +0 -1
- package/plugin/build/index.d.ts +0 -10
- package/plugin/build/index.js +0 -16
- package/plugin/build/withAndroid.d.ts +0 -5
- package/plugin/build/withAndroid.js +0 -26
- package/plugin/build/withIOS.d.ts +0 -6
- package/plugin/build/withIOS.js +0 -13
- package/plugin/tsconfig.json +0 -9
- package/plugin/tsconfig.tsbuildinfo +0 -1
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ConfigPlugin } from '@expo/config-plugins';
|
|
2
|
-
export interface BarkPluginProps {
|
|
3
|
-
/**
|
|
4
|
-
* Skip downloading binary artifacts during prebuild.
|
|
5
|
-
* Useful if you're building from source or have artifacts pre-installed.
|
|
6
|
-
*/
|
|
7
|
-
skipBinaryDownload?: boolean;
|
|
8
|
-
}
|
|
9
|
-
declare const _default: ConfigPlugin<void | BarkPluginProps>;
|
|
10
|
-
export default _default;
|
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../plugin/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAOzD,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;;AAaD,wBAA+E"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"withAndroid.d.ts","sourceRoot":"","sources":["../../../../../plugin/src/withAndroid.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAwB,MAAM,sBAAsB,CAAC;AAqB/E;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,YAI7B,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { type ConfigPlugin } from '@expo/config-plugins';
|
|
2
|
-
/**
|
|
3
|
-
* Configure iOS build settings for Bark
|
|
4
|
-
* The podspec already defines the minimum iOS version via min_ios_version_supported
|
|
5
|
-
*/
|
|
6
|
-
export declare const withBarkIOS: ConfigPlugin;
|
|
7
|
-
//# sourceMappingURL=withIOS.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"withIOS.d.ts","sourceRoot":"","sources":["../../../../../plugin/src/withIOS.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEzD;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,YAIzB,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ConfigPlugin } from '@expo/config-plugins';
|
|
2
|
-
export interface BarkPluginProps {
|
|
3
|
-
/**
|
|
4
|
-
* Skip downloading binary artifacts during prebuild.
|
|
5
|
-
* Useful if you're building from source or have artifacts pre-installed.
|
|
6
|
-
*/
|
|
7
|
-
skipBinaryDownload?: boolean;
|
|
8
|
-
}
|
|
9
|
-
declare const _default: ConfigPlugin<void | BarkPluginProps>;
|
|
10
|
-
export default _default;
|
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../plugin/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAOzD,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;;AAaD,wBAA+E"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"withAndroid.d.ts","sourceRoot":"","sources":["../../../../../plugin/src/withAndroid.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAwB,MAAM,sBAAsB,CAAC;AAqB/E;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,YAI7B,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { type ConfigPlugin } from '@expo/config-plugins';
|
|
2
|
-
/**
|
|
3
|
-
* Configure iOS build settings for Bark
|
|
4
|
-
* The podspec already defines the minimum iOS version via min_ios_version_supported
|
|
5
|
-
*/
|
|
6
|
-
export declare const withBarkIOS: ConfigPlugin;
|
|
7
|
-
//# sourceMappingURL=withIOS.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"withIOS.d.ts","sourceRoot":"","sources":["../../../../../plugin/src/withIOS.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEzD;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,YAIzB,CAAC"}
|
package/plugin/build/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { ConfigPlugin } from '@expo/config-plugins';
|
|
2
|
-
export interface BarkPluginProps {
|
|
3
|
-
/**
|
|
4
|
-
* Skip downloading binary artifacts during prebuild.
|
|
5
|
-
* Useful if you're building from source or have artifacts pre-installed.
|
|
6
|
-
*/
|
|
7
|
-
skipBinaryDownload?: boolean;
|
|
8
|
-
}
|
|
9
|
-
declare const _default: ConfigPlugin<void | BarkPluginProps>;
|
|
10
|
-
export default _default;
|
package/plugin/build/index.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const config_plugins_1 = require("@expo/config-plugins");
|
|
4
|
-
const withAndroid_1 = require("./withAndroid");
|
|
5
|
-
const withIOS_1 = require("./withIOS");
|
|
6
|
-
const pkg = require('../../package.json');
|
|
7
|
-
const withBarkReactNative = (config, props = {}) => {
|
|
8
|
-
const { skipBinaryDownload = false } = props || {};
|
|
9
|
-
return (0, config_plugins_1.withPlugins)(config, [
|
|
10
|
-
// Android configuration
|
|
11
|
-
[withAndroid_1.withBarkAndroid, { skipBinaryDownload }],
|
|
12
|
-
// iOS configuration
|
|
13
|
-
[withIOS_1.withBarkIOS, { skipBinaryDownload }],
|
|
14
|
-
]);
|
|
15
|
-
};
|
|
16
|
-
exports.default = (0, config_plugins_1.createRunOncePlugin)(withBarkReactNative, pkg.name, pkg.version);
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.withBarkAndroid = void 0;
|
|
4
|
-
const config_plugins_1 = require("@expo/config-plugins");
|
|
5
|
-
/**
|
|
6
|
-
* Add required configurations to gradle.properties
|
|
7
|
-
*/
|
|
8
|
-
const withGradlePropertiesConfig = (config) => {
|
|
9
|
-
return (0, config_plugins_1.withGradleProperties)(config, (config) => {
|
|
10
|
-
config.modResults = config.modResults.filter((item) => item.type !== 'property' || item.key !== 'android.useAndroidX');
|
|
11
|
-
config.modResults.push({
|
|
12
|
-
type: 'property',
|
|
13
|
-
key: 'android.useAndroidX',
|
|
14
|
-
value: 'true',
|
|
15
|
-
});
|
|
16
|
-
return config;
|
|
17
|
-
});
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* Configure Android build settings for Bark
|
|
21
|
-
*/
|
|
22
|
-
const withBarkAndroid = (config) => {
|
|
23
|
-
config = withGradlePropertiesConfig(config);
|
|
24
|
-
return config;
|
|
25
|
-
};
|
|
26
|
-
exports.withBarkAndroid = withBarkAndroid;
|
package/plugin/build/withIOS.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.withBarkIOS = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Configure iOS build settings for Bark
|
|
6
|
-
* The podspec already defines the minimum iOS version via min_ios_version_supported
|
|
7
|
-
*/
|
|
8
|
-
const withBarkIOS = (config) => {
|
|
9
|
-
// Currently no additional iOS configuration needed
|
|
10
|
-
// The podspec handles minimum version and framework linking
|
|
11
|
-
return config;
|
|
12
|
-
};
|
|
13
|
-
exports.withBarkIOS = withBarkIOS;
|
package/plugin/tsconfig.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"root":["./src/index.ts","./src/withandroid.ts","./src/withios.ts"],"version":"5.9.3"}
|