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

Feat android response models #299

Merged
merged 16 commits into from
Nov 8, 2021
Merged

Conversation

abnegate
Copy link
Member

Add Android response models
Update dependencies
Update to Java 11
Target Android 12

Copy link
Member

@lohanidamodar lohanidamodar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey Looks good. Would be great if you could push generated SDK in the sdk repo in a branch so that we can review that as well 🙏🏻

@@ -77,7 +77,7 @@ class SDKTest extends TestCase
'chmod +x tests/sdks/android/gradlew',
],
'envs' => [
'java-8' => 'docker run --rm -v $(pwd):/app -w /app/tests/sdks/android alvrme/alpine-android:latest-jdk8 sh -c "./gradlew :library:testReleaseUnitTest -q && cat library/result.txt"',
'java-11' => 'docker run --rm -v $(pwd):/app -w /app/tests/sdks/android alvrme/alpine-android:latest-jdk11 sh -c "./gradlew :library:testReleaseUnitTest -q && cat library/result.txt"',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this no longer support java 8?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The library can still be used on Java 8 - we are just compiling with 11 (stable Android Studio does now too)

@abnegate
Copy link
Member Author

abnegate commented Nov 2, 2021

@lohanidamodar I've pushed a snapshot on dev 🙂

ext.kotlin_version = "1.4.31"
version '{{ sdk.version }}'
ext.kotlin_version = "1.5.31"
version "{{ sdk.version }}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are double quotes and single quotes treated similarly ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep they are the same except allow for interpolation. I changed for consistency but I see there's other I missed anyway

…se-models

# Conflicts:
#	templates/android/library/src/main/java/io/appwrite/Client.kt.twig
@christyjacob4 christyjacob4 merged commit ca6022f into master Nov 8, 2021
@lohanidamodar lohanidamodar deleted the feat-android-response-models branch June 5, 2022 04:19
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

Successfully merging this pull request may close these issues.

4 participants