Skip to content

Commit

Permalink
Merge pull request #355 from jquick-axway/TIMOB-28461-rev1
Browse files Browse the repository at this point in the history
fix(ios): support for encrypted builds
  • Loading branch information
jquick-axway authored Jun 29, 2021
2 parents a83e207 + fc8f1b4 commit 9962bc7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion iphone/Resources/hyperloop/hyperloop.bootstrap.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
// This file will be overwritten by hyperloop build hook if at least 1 native class was detected in app.
// The file required-in here will be generated by the hyperloop build hook if at least 1 native reference exists.
// Will provide require/import bindings between native type name to hyperloop generated JS file.
if (Ti.Filesystem.getFile(Ti.Filesystem.resourcesDirectory, 'hyperloop', 'hyperloop.bindings.js').exists()) {
require('/hyperloop/hyperloop.bindings');
}
2 changes: 1 addition & 1 deletion iphone/hooks/generate/code-generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ class CodeGenerator {
fetchBindingsFrom(this.sourceSet.structs);
fetchBindingsFrom(this.sourceSet.modules);

const filePath = path.join(outputPath, 'hyperloop.bootstrap.js');
const filePath = path.join(outputPath, 'hyperloop.bindings.js');
fs.writeFileSync(filePath, fileLines.join('\n') + '\n');
}

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hyperloop",
"version": "7.0.2",
"version": "7.0.3",
"description": "Access native APIs from within Titanium.",
"keywords": [
"appcelerator",
Expand Down

0 comments on commit 9962bc7

Please sign in to comment.