-
-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1260 from flexn-io/release/1.0
release/1.0 to main update
- Loading branch information
Showing
77 changed files
with
1,151 additions
and
767 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// __mocks__/appium-ios-device.ts | ||
const aid: any = { | ||
utilities: { | ||
getConnectedDevices: jest.fn(() => Promise.resolve(['1234'])), | ||
getDeviceInfo: jest.fn(() => Promise.resolve({ name: 'iPhone 14 Pro Max', isAvailable: true })), | ||
}, | ||
}; | ||
|
||
module.exports = aid; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,9 @@ | ||
# @rnv/app-harness | ||
|
||
### Exporting App Harness | ||
|
||
#### iOS, tvOS | ||
1. `npx rnv crypto decrypt` | ||
2. `npx rnv hooks run -x appleSetup`. Make sure you have fastlane installed before running this command. | ||
3. `npx rnv export -p [platform] -s release` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import path from 'path' | ||
import { executeAsync, logInfo, logError } from '@rnv/core'; | ||
|
||
export default async (c) => { | ||
const certRelativePath = c.files.workspace.project?.configPrivate?.apple?.p12?.path; | ||
|
||
if (!certRelativePath) { | ||
return logError('No configPrivate found. You sure you decrypted?', true); | ||
} | ||
const certPass = c.files.workspace.project?.configPrivate?.apple?.p12?.password; | ||
const certPath = path.resolve(c.paths.workspace.project.dir, certRelativePath); | ||
|
||
logInfo(`Importing certificate ${certPath}`); | ||
await executeAsync(`fastlane run import_certificate certificate_path:${certPath} certificate_password:${certPass} keychain_name:login`, { privateParams: [certPass] }); | ||
|
||
const profiles = c.files.workspace.project?.configPrivate?.apple?.provisioningProfiles; | ||
|
||
if (!profiles) { | ||
return; | ||
} | ||
|
||
await Promise.all(profiles.map(async (profile) => { | ||
const profileRelativePath = profile?.path; | ||
const profilePath = path.resolve(c.paths.workspace.project.dir, profileRelativePath); | ||
logInfo(`Installing provisioning profile ${profilePath}`); | ||
await executeAsync(`fastlane run install_provisioning_profile path:${profilePath}`); | ||
})) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1700788548375 | ||
1701203486144 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.