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

Build failed. #38

Open
SatyamKr07 opened this issue Sep 2, 2022 · 4 comments
Open

Build failed. #38

SatyamKr07 opened this issue Sep 2, 2022 · 4 comments

Comments

@SatyamKr07
Copy link

This is the error I am getting after upgrading to truecaller_sdk 0.1.1

e: /Users/a1222/development/flutter/.pub-cache/hosted/pub.dartlang.org/truecaller_sdk-0.1.1/android/src/main/kotlin/com/truecallersdk/TruecallerSdkPlugin.kt: (146, 38): Type mismatch: inferred type is String? but String was expected

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':truecaller_sdk:compileDebugKotlin'.

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.0.5, on macOS 12.4 21F79 darwin-x64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.68.0)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

@ABHISHEK-360
Copy link

Getting similar issue with latest version truecaller_sdk 0.1.1
Type mismatch: inferred type is String? but String was expected

Need urgent resolution as our release is blocked on playstore.

@singhalyogesh
Copy link
Contributor

singhalyogesh commented Sep 24, 2022

Hi There,

Hope you are doing great!

We acknowledge the issue reported above, and a fix is already in progress. This would be fixed in the next version of Truecaller SDK flutter plugin that we'll release soon post testing.
We did some investigation at our end and were able to conclude that the SDK implementation caused the issue mentioned when the flutter stable channel was greater than 2.8.0. Therefore, as an interim solution you can also downgrade the flutter version to 2.8.0 or wait for the next release which ideally should be live by later half of the next week.

Please feel free to write to us on our support channel(https://developer.truecaller.com/contact) for faster and dedicated response.

@SatyamKr07
Copy link
Author

hiii... We are planning to release our app on 1st oct 2022 so it would be great if you could give an estimate date when the fix will be released?

Thanks

@SatyamKr07
Copy link
Author

Any update on the fix?

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

3 participants