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:
committed by
Facebook Github Bot
parent
9a63ee9fff
commit
a2ec178456
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user