Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GroundSdk.newSession(context, null) never completes #2

Open
wooldridgetm opened this issue Feb 26, 2023 · 1 comment
Open

GroundSdk.newSession(context, null) never completes #2

wooldridgetm opened this issue Feb 26, 2023 · 1 comment

Comments

@wooldridgetm
Copy link

I am developing a mobile app that uses the Parrot SDK to work with an Anafi Thermal Drone.

I am using v7.5 of the GroundSDK, and I recently updated my compile and target SDK to 33, and unfortunately, the GroundSdk.newSession(context, null) never returns or throws an exception. As far as I can tell, it doesn't do anything.

val session = try {
    GroundSdk.newSession(context, null)
} catch (e: Exception) {
    log.e("Error creating a new GroundSdk!")
    return@create
}
session.resume()

I get the same problem even when I update my compile/target SDKs to 32. Updating the SDK versions is mandated by Google to distribute my app via Google Play.

@wooldridgetm wooldridgetm changed the title GroundSdk.newSession never returns GroundSdk.newSession(context, null) never completes Feb 26, 2023
@wooldridgetm
Copy link
Author

Figured it out - the ReverseGeocoderEngine is incompatible with the Google Play Services Location library v21.0.1 (com.google.android.gms:play-services-location:21.0.1). Specifically, invoking Fx requestStart() on theReverseGeocoderEngine instance hangs. It doesn't throw an exception or complete. It just hangs. Reverting the Google Play Services Location library to v17 fixed the issue.

Requested SDK Update: make the groundsdk compatible with the latest version of Google Play Services Location library. At the time of this writing, it's v21.0.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant