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

"CrtException: Could not detect a supported platform" in Android and iOS Unity apps #90

Closed
ivgnt opened this issue Jan 31, 2023 · 4 comments
Labels
feature-request A feature should be added or improved. p3 This is a minor priority issue

Comments

@ivgnt
Copy link

ivgnt commented Jan 31, 2023

Some time ago we had an issue with SigV4A signing which was fixed by the AWS team: aws/aws-sdk-net#2126

Everything worked fine while we were testing on windows, but now we see this error when building and installing the app on both Android and iOS devices

CrtException: Could not detect a supported platform
at Aws.Crt.Platform.GetRuntimePlatformOS () [0x00000] in <00000000000000000000000000000000>:0
at Aws.Crt.CRT+PlatformBinding..ctor () [0x00000] in <00000000000000000000000000000000>:0
at Aws.Crt.CRT..cctor () [0x00000] in <00000000000000000000000000000000>:0
at Aws.Crt.NativeAPI..cctor () [0x00000] in <00000000000000000000000000000000>:0
at Aws.Crt.Auth.AwsSigner+API..cctor () [0x00000] in <00000000000000000000000000000000>:0
at Aws.Crt.Auth.AwsSigner.SignHttpRequest (Aws.Crt.Http.HttpRequest request, Aws.Crt.Auth.AwsSigningConfig signingConfig) [0x00000] in <00000000000000000000000000000000>:0
at Amazon.Extensions.CrtIntegration.CrtAWS4aSigner.SignRequest (Amazon.Runtime.Internal.IRequest request, Amazon.Runtime.IClientConfig clientConfig, Amazon.Runtime.Internal.Util.RequestMetrics metrics, Amazon.Runtime.ImmutableCredentials credentials) [0x00000] in <00000000000000000000000000000000>:0
at Amazon.Runtime.Internal.Auth.S3Signer.Sign

@DmitriyMusatkin
Copy link
Contributor

We currently dont support CRT dotnet bindings on Android or IOS. We started internal discussion on when we can support those platforms. I'll update the ticket once i have more info.

@DmitriyMusatkin DmitriyMusatkin added the feature-request A feature should be added or improved. label Feb 11, 2023
@NikitaMironenkoUrmobi
Copy link

any updates?

@genifycom
Copy link

I too would like to know the status. This issue currently precludes me from using CloudFront KeyValueStore in Android which is a valuable caching strategy.

@bretambrose
Copy link
Contributor

Android support is provided by aws-crt-java. There are no current plans to extend it to aws-crt-dotnet.

@jmklix jmklix closed this as completed May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved. p3 This is a minor priority issue
Projects
None yet
Development

No branches or pull requests

6 participants