Closed Yoanndp closed 1 year ago
@Yoanndp
@ShortDevelopment • Android 13 • Yes • 192.168.1.12
Might be, that the WifiInfo.IpAddress
yields an invalid result on android 13+ as it's deprecated...
https://github.com/ShortDevelopment/Nearby-Sharing-Windows/blob/af9248e3271efad2847e3a155d836ef88a1b2a73/Nearby%20Sharing%20Windows/AndroidNetworkHandler.cs#L25-L28
@Yoanndp Would you like to test a version with a potential fix? The apk would have a different signing key so you would unfortunately have to uninstall the current version first...
Yes. No problem for the signatures, I already had the case when I went from stable to beta
@Yoanndp Here you go: https://cdn.shortdev.de/09855ced-b452-4206-8ef7-60bb749ced9c/nearshare-wifi-ip-test1.apk
The application crashes at each startup: impossible to test. Here are the logs:
FATAL EXCEPTION: main
Process: de.shortdev.nearby_sharing_windows, PID: 1133
java.lang.NoSuchMethodError: no static method "Lio/sentry/android/core/SentryAndroid;.init(Landroid/content/Context;Lio/sentry/Sentry$OptionsConfiguration;)V"
at crc642138225d2d50e687.MainActivity.n_onCreate(Native Method)
at crc642138225d2d50e687.MainActivity.onCreate(MainActivity.java:42)
at android.app.Activity.performCreate(Activity.java:8341)
at android.app.Activity.performCreate(Activity.java:8320)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1417)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3622)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3778)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:138)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2303)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7884)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
Strange; I'll have a look...
The app got installed successfully with no crashes. However I can't try with a computer right now, I'll let you know
Alright, everything seems to work. I tried both sending and receiving ✅
Nice, thank you very much for testing!
Description
When using the application on my Android device and attempting to receive a file, the application crashes when I press the “receive” button (after setting the Bluetooth MAC address).
Steps to Reproduce
Expected Behavior
The application should be able to receive the file via Bluetooth without crashing when I press the “receive” button after setting the Bluetooth MAC address.
Actual Behavior
The application crashes when I press the “receive” button after setting the Bluetooth MAC address.
Additional Information
Logcat