Skip to content

Commit

Permalink
Patch v1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
xerdnu committed Sep 20, 2024
1 parent 19ce805 commit cca175d
Show file tree
Hide file tree
Showing 4 changed files with 7,486 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [1.0.6] (2024-09-20)

#### Bug Fixes

- Fixed a bug that caused `assetsPath` parameter not to be used on iOS.

## [1.0.5] (2024-09-20)

#### Improvements
Expand Down Expand Up @@ -188,6 +194,8 @@

- Initial release.

[1.0.6]: https://github.com/xerdnu/react-native-blasted-image/compare/v1.0.5...v1.0.6
[1.0.5]: https://github.com/xerdnu/react-native-blasted-image/compare/v1.0.4...v1.0.5
[1.0.4]: https://github.com/xerdnu/react-native-blasted-image/compare/v1.0.3...v1.0.4
[1.0.3]: https://github.com/xerdnu/react-native-blasted-image/compare/v1.0.2...v1.0.3
[1.0.2]: https://github.com/xerdnu/react-native-blasted-image/compare/v1.0.1...v1.0.2
Expand Down
5 changes: 3 additions & 2 deletions blastedAssets.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,13 @@ const blastedAssets = (config, options = {}) => {
},
]);

config = withXcodeProject(config, async (config) => {
config = withXcodeProject(config, async (config, options = {}) => {
const { projectRoot } = config.modRequest;
const iosDir = path.join(projectRoot, 'ios');
const resourcesDir = path.join(iosDir, 'Resources');
const blastedImageDir = path.join(resourcesDir, 'blasted-image');
const absoluteSrcPath = path.resolve('assets', 'blasted-image');
//const absoluteSrcPath = path.resolve('assets', 'blasted-image');
const absoluteSrcPath = path.resolve(options.assetsPath || process.env.ASSETS_PATH || './assets/blasted-image');

fs.ensureDirSync(resourcesDir);

Expand Down
Loading

0 comments on commit cca175d

Please sign in to comment.