sochix / TLSharp

Telegram client library implemented in C#
1k stars 380 forks source link

TLSharp on xamarin? #545

Open alirezaafzalaghaei opened 7 years ago

alirezaafzalaghaei commented 7 years ago

Because of DotNetZip package dependency we cant install TLSharp on xamarin. Is there any way to install on it? Where DotNetZip package used in TLSharp? Can we manually remove it from source?

sochix commented 7 years ago

@alirezaafzalaghaei nope you can't remove it

ramtinak commented 7 years ago

@alirezaafzalaghaei salam, finglish minevisam TLSharp aslan az DotNetZip estefade nemikone!!!! faghat alaki be projectesh addesh karde, vase GZip o deflat o az in ghabil az lonic.zlib estefade shode. man diroz in project ro port kardam be xamarin ama be dalayele shakhsi Share nemikonam. ama khob tozihati midam omidvaram befahmi:

aval inke Sha256Managed tuye PCL(portable class library) ya tuye .net standard nadarim. kolan classe System.Security.Cryptography nadare, bayad az nuget baraye project haye XAMARIN on ro begiri. (ye seri tagheirat bayad anjam bedi) Dovom System.Reflection tuye classe TLContext, bayad codesh ro avaz koni, chon tuye pcl injori kar nakhad kard. BigMath open source hast va bar paye PCL, behtare portesh koni be .NET standard( ye projecte .net standard besaz, class hash ro import kon, halle!!!!) Mahale zakhire sazie Session, hatman bug mige, bayad ye Custom SessionStore besazi vase har platform, vase custom sazi va sakhte yek class vase platform haye motafavet, inja ye nemone vase estefade az database neveshtam, bekhonesh bad nist>> https://www.win-nevis.com/topic/677-%D8%A2%D9%85%D9%88%D8%B2%D8%B4-%D8%AF%DB%8C%D8%AA%D8%A7%D8%A8%DB%8C%D8%B3-%D8%AF%D8%B1-xamarin-forms/

inam ye shot az esbaate harfam, ke channelha va super group ha ro tuye projecte UWP e xamarin gereftam (hoseleye sakhte project nadashtam az projecte balaei estefade kardamm va toye oun library e port shode ro estefade kardam:|)>>> http://s8.picofile.com/file/8307003876/ax.PNG Khastan tavanestan ast!!!! Movafagh bashi

knocte commented 7 years ago

Can you write your comment in English please? I don't speak your language (English is not my mother tongue either)

ramtinak commented 7 years ago

It's Persian with English type! we called Finglish!!!! I told him I ported TLSharp to Xamarin, and I show him the way he can use TLSharp in Xamarin.

alirezaafzalaghaei commented 7 years ago

@ramtinak Hey man, tanks a lot. I used another telegram library in java to develop my app😆

knocte commented 7 years ago

@ramtinak thanks. Can you share your port with us? Maybe as a pull request?

ramtinak commented 7 years ago

for now no, because It's not a PCL or .net standard library, I just import all TeleSharp and TLSharp classes to a Xamarin.forms and make some changes for working in Xamarin. I'm trying to create a net standard or pcl library when it's done, I will pull a request.

tantita commented 7 years ago

pls i will like to know when this is possible

marcofio21 commented 4 years ago

@alirezaafzalaghaei salam, finglish minevisam TLSharp aslan az DotNetZip estefade nemikone!!!! faghat alaki be projectesh addesh karde, vase GZip o deflat o az in ghabil az lonic.zlib estefade shode. man diroz in project ro port kardam be xamarin ama be dalayele shakhsi Share nemikonam. ama khob tozihati midam omidvaram befahmi:

aval inke Sha256Managed tuye PCL(portable class library) ya tuye .net standard nadarim. kolan classe System.Security.Cryptography nadare, bayad az nuget baraye project haye XAMARIN on ro begiri. (ye seri tagheirat bayad anjam bedi) Dovom System.Reflection tuye classe TLContext, bayad codesh ro avaz koni, chon tuye pcl injori kar nakhad kard. BigMath open source hast va bar paye PCL, behtare portesh koni be .NET standard( ye projecte .net standard besaz, class hash ro import kon, halle!!!!) Mahale zakhire sazie Session, hatman bug mige, bayad ye Custom SessionStore besazi vase har platform, vase custom sazi va sakhte yek class vase platform haye motafavet, inja ye nemone vase estefade az database neveshtam, bekhonesh bad nist>> https://www.win-nevis.com/topic/677-%D8%A2%D9%85%D9%88%D8%B2%D8%B4-%D8%AF%DB%8C%D8%AA%D8%A7%D8%A8%DB%8C%D8%B3-%D8%AF%D8%B1-xamarin-forms/

inam ye shot az esbaate harfam, ke channelha va super group ha ro tuye projecte UWP e xamarin gereftam (hoseleye sakhte project nadashtam az projecte balaei estefade kardamm va toye oun library e port shode ro estefade kardam:|)>>> http://s8.picofile.com/file/8307003876/ax.PNG Khastan tavanestan ast!!!! Movafagh bashi

Can you please traslate your modification to the TLContext ?