Working on an app where if it is used the first time, the user will get an EULA; otherwise it is the main app activity. The problem I am seeing is that the app-wait-activity does not seem to work.
The logs are always looking for the app-wait-activity and completely fails when it does not find it. I was expecting that if that wait activity exists; act on it otherwise go and see if the app-activity did show up.
I have this on both the desiredcap and when starting appium --app-package mainActivity --app-wait-Activity EULA.Activity.
From the log:
info: Waiting for app's activity to become focused
info: Getting focused package and activity
(a bunch of these until I guess it times out)
:: ::::: ::
error: App never showed up as active. appActivity: mainActivity != EULA.Activity
error: Failed to start an Appium session, err was: Error: Appium never showed up as active. mainActivity != EULA.Activity
Is there a way to continue if any of those activity is found?