Added ability to navigate to deeplinks for iOS

Summary: Added ability to navigate to deeplinks from Flipper for iOS. This is done through the "xcrun simctl" command, much like how we handle screenshots on iOS.

Reviewed By: passy

Differential Revision: D17071428

fbshipit-source-id: 86cb375e750e89ddf598a42ce33d3099bb08803a
This commit is contained in:
Benjamin Elo
2019-08-28 05:03:04 -07:00
committed by Facebook Github Bot
parent 9a63ee9fff
commit a2ec178456

View File

@@ -60,6 +60,11 @@ export default class IOSDevice extends BaseDevice {
}); });
} }
navigateToLocation(location: string) {
const command = `xcrun simctl openurl booted "${location}"`;
exec(command);
}
teardown() { teardown() {
if (this.log) { if (this.log) {
this.log.kill(); this.log.kill();