I want to know how i can switch from one app to another. For now i am making it work using recent apps. But is there any easier and better way to switch apps.
Please try launchApp method.
Well i am trying to launch the messaging app.With launch app method i am not able to find the activity URL for messages app.
I am using an ios phone.
If you are interested on launching the iMessage app you can use this -
dc.setCapability(IOSMobileCapabilityType.BUNDLE_ID, “com.apple.MobileSMS”);
how do u get the bundle id of the ios apps?
Those are most of the native apps on iOS:
com.apple.AdSheetPhone;
com.apple.appleseed.FeedbackAssistant;
com.apple.AppStore;
com.apple.AskPermissionUI;
com.apple.camera;
com.apple.CheckerBoard;
com.apple.CloudKit.ShareBear;
com.apple.CompassCalibrationViewService;
com.apple.CoreAuthUI;
com.apple.DataActivation;
com.apple.datadetectors.DDActionsService;
com.apple.DemoApp;
com.apple.Diagnostics;
com.apple.DiagnosticsService;
com.apple.FacebookAccountMigrationDialog;
com.apple.facetime;
com.apple.family;
com.apple.fieldtest;
com.apple.gamecenter.GameCenterUIService;
com.apple.Home.HomeUIService;
com.apple.Home;
com.apple.iad.iAdOptOut;
com.apple.iBooks;
com.apple.iCloudDriveApp;
com.apple.InCallService;
com.apple.ios.StoreKitUIService;
com.apple.LoginUI;
com.apple.Magnifier;
com.apple.MailCompositionService;
com.apple.Maps;
com.apple.MobileAddressBook;
com.apple.mobilecal;
com.apple.mobilemail;
com.apple.mobileme.fmf1;
com.apple.mobileme.fmip1;
com.apple.mobilenotes;
com.apple.MobileReplayer;
com.apple.mobilesafari;
com.apple.mobileslideshow;
com.apple.mobilesms.compose;
com.apple.mobilesms.notification;
com.apple.MobileSMS;
com.apple.MobileStore;
com.apple.mobiletimer;
com.apple.Music;
com.apple.MusicUIService;
com.apple.news;
com.apple.PassbookUIService;
com.apple.Photo-Booth;
com.apple.PhotosViewService;
com.apple.podcasts;
com.apple.PreBoard;
com.apple.Preferences;
com.apple.PrintKit.Print-Center;
com.apple.purplebuddy;
com.apple.reminders;
com.apple.SafariViewService;
com.apple.ScreenSharingViewService;
com.apple.ServerDocuments;
com.apple.share;
com.apple.SharedWebCredentialViewService;
com.apple.SharingViewService;
com.apple.SiriViewService;
com.apple.social.SLGoogleAuth;
com.apple.social.SLYahooAuth;
com.apple.StoreDemoViewService;
com.apple.susuiservice;
com.apple.TencentWeiboAccountMigrationDialog;
com.apple.tips;
com.apple.TrustMe;
com.apple.tv;
com.apple.videos;
com.apple.VSViewService;
com.apple.WatchListViewService;
com.apple.webapp;
com.apple.webapp1;
com.apple.WebContentFilter.remoteUI.WebContentAnalysisUI;
com.apple.WebSheet;
Wow… Thanks… But how did you find them? Is there any app for it?
You can find all of them here:
http://labs.wrprojects.com/apple-ios-9-3-native-app-bundle-identifiers/
Also you can get the bundleID of every APP. Follow these steps:
- Change extension of the APP from .ipa to .zip and unzip the file.
- Enter to Payload folder.
- Open Info.plist with Notepad.
- Search for key CFBundleIdentifier and you have the bundleID of that APP.
This is the Bundle ID from WhatsApp:
CFBundleIdentifier
net.whatsapp.WhatsApp