Skip to content

feat dart example#566

Closed
isopen wants to merge 1 commit into
tdlib:masterfrom
isopen:master
Closed

feat dart example#566
isopen wants to merge 1 commit into
tdlib:masterfrom
isopen:master

Conversation

@isopen

@isopen isopen commented May 19, 2019

Copy link
Copy Markdown
Contributor

No description provided.

This was referenced May 19, 2019

@triedcatched triedcatched left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I'm not sure if I'm doing something wrong. The timeout in client_receive is not working. Even if I set a higher value (eg: 60.0), it immediately returns null if there is no update instead of waiting for 60 seconds.

cbe2680#diff-169e6dc747a8a5fae6bb7281d2f94353R27

@isopen

isopen commented Jul 1, 2019

Copy link
Copy Markdown
Contributor Author

https://gist.githubusercontent.com/isopen/e9a60e69616ccc2a8a5a88149c79e48d/raw/277ae01d06993987bf7dd51915b5f912a7b12030/gistfile1.txt

In this case, you can remove check of null.

In this example, there is a check of nil: https://github.com/tdlib/td/blob/master/example/python/tdjson_example.py (in main body of the program @levlam)

Dart is not stable. It looks like a separate kingdom. Try updating Dart to the stable version.

You have a great example. Need to move Lviv interface TdApi on Java. We may not use Flutter in favor of Kotlin.

@isopen isopen closed this Jul 22, 2019
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.

2 participants