Files
self/packages/mobile-sdk-alpha/react-native.config.cjs
Aaron DeRuvo 6bdc4ae1d2 Move components to sdk for future use (#1243)
* move components to sdk and refactor a way from tamagui

* linting

* reverting since this is just a local issue for me

* lint

* simple

* yarn

* yolo

* run yarn nice

* fix pipelines

* fix tests

* fix mock

* add fonts to mobile sdk

* more feedback

---------

Co-authored-by: Justin Hernandez <justin.hernandez@self.xyz>
2025-10-10 16:52:41 -07:00

26 lines
751 B
JavaScript

// SPDX-FileCopyrightText: 2025 Social Connect Labs, Inc.
// SPDX-License-Identifier: BUSL-1.1
// NOTE: Converts to Apache-2.0 on 2029-06-11 per LICENSE.
const path = require('path');
const fs = require('fs');
const packageRoot = fs.realpathSync(__dirname);
const _iosSourceDir = fs.realpathSync(path.join(packageRoot, 'ios'));
module.exports = {
dependency: {
platforms: {
ios: {
podspecPath: path.join(packageRoot, 'mobile-sdk-alpha.podspec'),
},
android: {
sourceDir: path.join(packageRoot, 'android'),
packageImportPath: 'import com.selfxyz.selfSDK.RNSelfPassportReaderPackage;',
packageInstance: 'new RNSelfPassportReaderPackage()',
},
},
},
assets: ['./assets/fonts'],
};