nexron171 / simvirtuallocation Goto Github PK
View Code? Open in Web Editor NEWiOS/Android device and simulator location mocking tool
iOS/Android device and simulator location mocking tool
Hello,
We can simulate the location, but the value of isSimulatedBySoftware in CLLocation is still YES.
It means that the app can easily know the location is faked.
Hi!
I'll be appreciated if you help find out a decision.
When I run the app I see error "The file “pymobiledevice3” doesn’t exist.". But if run "python -m pymobiledevice3 -h" I see
Usage: python -m pymobiledevice3 [OPTIONS] COMMAND [ARGS]...
Options:
-h, --help Show this message and exit.
Commands:
activation activation options
afc FileSystem utils
amfi amfi options
apps application options
backup2 backup utils
bonjour bonjour options
companion companion options
crash crash report options
developer developer options.
diagnostics diagnostics options
lockdown lockdown options
mounter mounter options
notification notification options
pcap sniff device traffic
power-assertion Create a power assertion (wraps...
processes processes cli
profile profile options
provision privision options
remote remote options
restore restore options
springboard springboard options
syslog syslog options
usbmux usbmuxd options
webinspector webinspector options
I put alias of pymobiledevice3 to:
/opt/homebrew/bin/pymobiledevice3
/usr/local/bin/pymobiledevice3
I installed SimVirtualLocation on Mac (13.4.1) and pymobiledevice3. When I run app , the error message "the pymobiledevice3” doesn’t exist." is displayed.
Hey! First of all, thank you for this amazing tool! It works well with my iOS 17.2. But, simulation works only for shorter distances. If I set a distance longer than 6-7 blocks it stops mocking on the phone while the app on the mac still looks like it is proceeding. Also, after a couple of attempts I receive an error as shown in the screenshot that I'm attaching. Thank you again!
It's not working on android 13.
E/AndroidRuntime(21263): FATAL EXCEPTION: main
E/AndroidRuntime(21263): Process: com.devnex.simvirtuallocation, PID: 21263
E/AndroidRuntime(21263): java.lang.RuntimeException: Error receiving broadcast Intent { act=send.mock flg=0x400010 (has extras) } in com.devnex.simvirtuallocation.AdbBroadcastReceiver@369fe1
E/AndroidRuntime(21263): at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0$android-app-LoadedApk$ReceiverDispatcher$Args(LoadedApk.java:1928)
E/AndroidRuntime(21263): at android.app.LoadedApk$ReceiverDispatcher$Args$$ExternalSyntheticLambda0.run(Unknown Source:2)
E/AndroidRuntime(21263): at android.os.Handler.handleCallback(Handler.java:942)
E/AndroidRuntime(21263): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(21263): at android.os.Looper.loopOnce(Looper.java:226)
E/AndroidRuntime(21263): at android.os.Looper.loop(Looper.java:313)
E/AndroidRuntime(21263): at android.app.ActivityThread.main(ActivityThread.java:8757)
E/AndroidRuntime(21263): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(21263): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
E/AndroidRuntime(21263): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
E/AndroidRuntime(21263): Caused by: java.lang.IllegalArgumentException: gps provider is not a test provider
E/AndroidRuntime(21263): at android.os.Parcel.createExceptionOrNull(Parcel.java:3027)
E/AndroidRuntime(21263): at android.os.Parcel.createException(Parcel.java:3007)
E/AndroidRuntime(21263): at android.os.Parcel.readException(Parcel.java:2990)
E/AndroidRuntime(21263): at android.os.Parcel.readException(Parcel.java:2932)
E/AndroidRuntime(21263): at android.location.ILocationManager$Stub$Proxy.setTestProviderLocation(ILocationManager.java:2239)
E/AndroidRuntime(21263): at android.location.LocationManager.setTestProviderLocation(LocationManager.java:2144)
E/AndroidRuntime(21263): at com.devnex.simvirtuallocation.MockLocationProvider.pushLocation(MockLocationProvider.java:45)
E/AndroidRuntime(21263): at com.devnex.simvirtuallocation.AdbBroadcastReceiver.onReceive(AdbBroadcastReceiver.java:49)
E/AndroidRuntime(21263): at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0$android-app-LoadedApk$ReceiverDispatcher$Args(LoadedApk.java:1918)
E/AndroidRuntime(21263): ... 9 more
E/AndroidRuntime(21263): Caused by: android.os.RemoteException: Remote stack trace:
E/AndroidRuntime(21263): at com.android.server.location.provider.LocationProviderManager.setMockProviderLocation(LocationProviderManager.java:1724)
E/AndroidRuntime(21263): at com.android.server.location.LocationManagerService.setTestProviderLocation(LocationManagerService.java:1858)
E/AndroidRuntime(21263): at android.location.ILocationManager$Stub.onTransact(ILocationManager.java:1181)
E/AndroidRuntime(21263): at android.os.Binder.execTransactInternal(Binder.java:1316)
E/AndroidRuntime(21263): at android.os.Binder.execTransact(Binder.java:1280)
Using 3.3, but it seems to me that negative latitude is not allowed because I tried -- and - and it doesn't work
Can you please have a look
Hello. i tried python3 -m venv .venv && source .venv/bin/activate && sudo python3 -m pymobiledevice3 remote start-tunnel
for this reason to connect my iOS 17.4.1 device.
Then i put RSD address/port. But error exists after i clicked 'Set A'(set location)
Can I define my own route using json or gpx, then simulate it in this app?
It's important to me.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.