TLSharp icon indicating copy to clipboard operation
TLSharp copied to clipboard

TLSharp on xamarin?

Open alirezaafzalaghaei opened this issue 8 years ago • 9 comments

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?

alirezaafzalaghaei avatar Aug 07 '17 18:08 alirezaafzalaghaei

@alirezaafzalaghaei nope you can't remove it

sochix avatar Aug 10 '17 13:08 sochix

@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

ramtinak avatar Sep 20 '17 20:09 ramtinak

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

knocte avatar Sep 20 '17 20:09 knocte

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.

ramtinak avatar Sep 20 '17 20:09 ramtinak

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

alirezaafzalaghaei avatar Sep 20 '17 20:09 alirezaafzalaghaei

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

knocte avatar Sep 20 '17 21:09 knocte

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.

ramtinak avatar Sep 20 '17 21:09 ramtinak

pls i will like to know when this is possible

tantita avatar Sep 26 '17 03:09 tantita

@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 ?

marcofio21 avatar Oct 17 '20 23:10 marcofio21