You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
asyncfunctionsetDemoMode(){if(device.getPlatform()==='ios'){execSync('xcrun simctl status_bar "iPhone 11" override --time "12:00" --batteryState charged --batteryLevel 100 --wifiBars 3 --cellularMode active --cellularBars 4');}else{// enter demo modeexecSync('adb shell settings put global sysui_demo_allowed 1');// display time 12:00execSync('adb shell am broadcast -a com.android.systemui.demo -e command clock -e hhmm 1200');// Display full mobile data with 4g type and no wifiexecSync('adb shell am broadcast -a com.android.systemui.demo -e command network -e mobile show -e level 4 -e datatype 4g -e wifi false');// Hide notificationsexecSync('adb shell am broadcast -a com.android.systemui.demo -e command notifications -e visible false');// Show full battery but not in charging stateexecSync('adb shell am broadcast -a com.android.systemui.demo -e command battery -e plugged false -e level 100');}}
Do the magic status bar stuff, make as few changeable things as possible, and ideally generate diffs between screenshots too.
The text was updated successfully, but these errors were encountered: