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

Attempting to compile retroshare-mobile with latest flutter.... #25

Open
defnax opened this issue Jul 20, 2021 · 185 comments
Open

Attempting to compile retroshare-mobile with latest flutter.... #25

defnax opened this issue Jul 20, 2021 · 185 comments

Comments

@defnax
Copy link

defnax commented Jul 20, 2021

Atempting to compile retroshare-mobile with latest flutter....

@defnax defnax changed the title Todo ideas for rs mobile ideas for rs mobile Jul 24, 2021
@Kumaravinash9
Copy link
Contributor

@Kumaravinash9 you using retroshare? never saw you yet on retroshare,

Yes, I am on retroshare. Sent you a invite link😁

@defnax defnax changed the title ideas for rs mobile Todos & ideas for rs mobile Jul 29, 2021
@defnax defnax changed the title Todos & ideas for rs mobile Todos & ideas for retroshare mobile Jul 30, 2021
@Kumaravinash9
Copy link
Contributor

Kumaravinash9 commented Jul 31, 2021

i forget this feature, every mobile app has it, Whatsapp/Telegram...
only for Retroshare mobile app not for Desktop.

When want send a voice message via private chat or distant chat, (only for 1:1 not for chat rooms) updated the todo list.

  • Send a Voice Message

https://pub.dev/packages/flutter_sound
https://pub.dev/packages/audio_recorder

// Import package
import 'package:audio_recorder/audio_recorder.dart';

// Check permissions before starting
bool hasPermissions = await AudioRecorder.hasPermissions;

// Get the state of the recorder
bool isRecording = await AudioRecorder.isRecording;

// Start recording
await AudioRecorder.start(path: _controller.text, audioOutputFormat: AudioOutputFormat.AAC);

// Stop recording
Recording recording = await AudioRecorder.stop();
print("Path : ${recording.path},  Format : ${recording.audioOutputFormat},  Duration : ${recording.duration},  Extension : ${recording.extension},");

Actually we have some issue with it. Actually as of now retroshare service is not accesable to large file. Mean to say we are not able to send large files.

@Kumaravinash9
Copy link
Contributor

Actually we have some issue with it. Actually as of now retroshare service is not accesable to large file. Mean to say we are not able to send large files.

https://rrtutors.com/tutorials/flutter-audio-recodring-application

But i mean about send short files voice messages takes not so much in filesize,
about 10-60 seconds maximum record and send the audio file.
on other side the users needs download then play it on the chat view .

Ok.

@Kumaravinash9
Copy link
Contributor

Kumaravinash9 commented Aug 3, 2021

  1. Profile generation problem is not related to retroshare_mobile. Actually this is the problem with the retroshare-service.
  2. Long invite is working. In short invite why this is not working i donot know
  3. This feature is not added yet. I will add it later
  4. I think distance chat should work. Actually i have added the feature for it inside the app. But i will again look into this.
  5. Can you please explain what do you mean by switch profile. @defnax

@Kumaravinash9
Copy link
Contributor

Konrads first mokups seems there was a idea with Friends list and view the direct friends when inm right with status.
On the main Friends view
image

Actually i got some other code base. It was different from above and Konrads only added UI not added with backend as i know

@Kumaravinash9
Copy link
Contributor

I worked on B1rd code base that is aviable on GIT lab

@Kumaravinash9
Copy link
Contributor

Kumaravinash9 commented Aug 5, 2021

@csoler @defnax @obrasero pervious UI was looking good or this one

@defnax defnax closed this as completed Aug 9, 2021
@defnax defnax reopened this Aug 9, 2021
@defnax defnax changed the title Todos & ideas for retroshare mobile Todos & ideas for RetroShare Mobile Aug 14, 2021
@Sukhamjot-Singh
Copy link

I am quite familiar with Flutter as well. Are these issues still open?

@defnax
Copy link
Author

defnax commented Feb 10, 2022

you see there is a big todo list on top :)
i dont know when @Kumaravinash9 continous, i thinked you will work on the webui? to get useable

@Sukhamjot-Singh
Copy link

you see there is a big todo list on top :)
i dont know when @Kumaravinash9 continous, i thinked you will work on the webui? to get useable

Yes, I will work on webui.
Maybe I can take this project and webui as a GSOC '22 proposal.

@ayushkoli772
Copy link

Hello @defnax,

I hope this message finds you well. I am writing to express my high interest in contributing to improving Retroshare Android Client, as it aligns perfectly with my skill set and interests.

I would appreciate any updates on the progress of this issue and if there are specific areas where new contributors can get involved.

Additionally, I'm curious to know if the Improve the Retroshare Android client is being considered as one of the GSoC 2024 project ideas.

Thank you for your time and consideration. I'm excited about the possibility of contributing to this project 😄

@defnax
Copy link
Author

defnax commented Jan 11, 2024

Thank you that you want help us. we need a working retroshare mobile version, that android client not yet useable.
At moment i cant check if some one write me on my desktop retroshare.

Please install and run ouer Retroshare desktop client to get in contact with us.
you will meet all retroshare devs and testers there and potential mobile testers too, when you want do some new mobile builds.

I dont know about GSOC 2024 maybe @csoler knows it.

@csoler
Copy link
Contributor

csoler commented Jan 11, 2024

Hi.
GSoC projects are now in discussion, which means that we have the possibility to define a project that goes along these lines.

@ayushkoli772
Copy link

Hello @defnax and @csoler,

Thank you for your prompt responses. I'm excited to hear about the possibility of a GSoC project aligning with improving the Retroshare Android client.

To get started, could you please guide me and provide pointers to the resources I can refer to? I'm eager to contribute effectively to this exciting project and be a part of this.

Thank you once again for your time and consideration 😄

@defnax
Copy link
Author

defnax commented Jan 11, 2024

2 Years ago tried my self build rs mobile app.
howto build:
https://github.com/RetroShare/retroshare-mobile/blob/master/AndroidStudio-Flutter-setup.md

But best was you install Retroshare desktop and you get faster feedback :)

old historie
https://github.com/kdebiec/GSoC_2019
https://blog.freifunk.net/2021/08/22/gsoc21-retroshare-mobile-final-evaluations/

@ayushkoli772
Copy link

ayushkoli772 commented Jan 11, 2024

I have installed Retroshare desktop, can you please tell me how to get in contact with devs and fellow contributors. Thank you :)

@ayushkoli772
Copy link

Just saw your email. Thank you :)

@defnax
Copy link
Author

defnax commented Jan 17, 2024

any news @ayushkoli772

@ayushkoli772
Copy link

ayushkoli772 commented Jan 17, 2024

Hello @defnax, one of the reason behind the error i was getting that i mentioned you about on RS is due to my android studio not being up to date and is not yet fixed because i was not able to come much online and work on it as my university semester started few days ago and i was travelling back.

Till now i have followed all the initial steps on https://github.com/RetroShare/retroshare-mobile/blob/master/AndroidStudio-Flutter-setup.md and cloned the repository locally. I think i just need to update the android studio and few changes, which im working on right now and I will be all set to further understand the codebase and start contributing.

Thank you very much for your concern and support :)

@ayushkoli772
Copy link

ayushkoli772 commented Jan 18, 2024

Hey @defnax, I get this output after flutter pub get <return> at the RS mobile: Prepare project

image

When i searched for this issue, i got this on Stackoverflow. Can i just ignore this and proceed forward or there is some other solution? Please guide me in solving this issue.

Edit: Another solution i got is changing the pubspec.yaml file. By changing the sdk constraint from '>=2.2.2 <3.0.0' to '>=3.0.0 <4.0.0' or higher than '>=2.2.2 <3.0.0'. Most said this worked so can i go ahead with this?

Edit 2: I tried above by changing sdk constraint but it now gives this error:

image

@defnax
Copy link
Author

defnax commented Jan 18, 2024

@Sukhamjot-Singh @Kumaravinash9 @obrasero you know how to solves this?

@ayushkoli772
Copy link

There is little bit progress, errors from Retroshare wrapper are resolved with my last changes.

Now only inside retroshare mobile are remaining.

Thank you @selankon for your time and consideration :)

@defnax
Copy link
Author

defnax commented Feb 7, 2024

@ayushkoli772 we can create for the rs wrapper own repo, when its 100% fixed

@ayushkoli772
Copy link

Thank you @defnax, for invitation. It is my first time contributing to open source so it feels like a achievement :)

@ayushkoli772
Copy link

Hello @defnax, compile time errors in Retroshare mobile are resolved that were related to Null safety but there are many run time errors which actually are mostly related to deprecated/older library implementations or code not supported by newer Dart versions. Can you help me in this? I will push code till now as i was planning to push it once all gets resolved.

@defnax
Copy link
Author

defnax commented Feb 8, 2024

i can only help with testing, i dont know about dart, you need new libraries as replacement? i can look int the weekend

@ayushkoli772
Copy link

Got it. I will first try to resolve the errors with existing libraries if it doesn't resolves then I will tell you about it :)

@defnax
Copy link
Author

defnax commented Feb 9, 2024

But after everything done i think rs mobile uses retroshare service impletation as @G10h4ck said need rewrite to use with libretroshare

You should not use retroshare-service anymore but bundle libretroshare as an android library directly, look at how elrepo.io does it https://gitlab.com/elRepo.io/elRepo.io-android/-/blob/develop/android/app/build.gradle?ref_type=heads#L120 libretroshare build for android can be found in gitlab CI artifacts https://gitlab.com/RetroShare/libretroshare/-/pipelines/1146212385 AFAIR elRepo.io uses gradle to automatically depends on the published artifacts so better looking at elRepo.io gradle files

@ayushkoli772
Copy link

So i should first resolve errors and compile right? Or have to start with rewriting to use with libretroshare?

@defnax
Copy link
Author

defnax commented Feb 9, 2024

yes first fix to get it work it, first need a success with rs mobile before start something rewrite :)

@ayushkoli772
Copy link

Hello @csoler @G10h4ck, I just saw the list of GSoC '24 project ideas and Retroshare is not among the list. Can i propose my own idea related to Retroshare mobile?

Thank you for your time and consideration :)

@csoler
Copy link
Contributor

csoler commented Feb 10, 2024

Yes of course! Given how much you've been contributing already, it would be a very good idea to do so.

@ayushkoli772
Copy link

Yes of course! Given how much you've been contributing already, it would be a very good idea to do so.

Great! Right now Im working on resolving errors to compile the Retroshare mobile and @defnax and @G10h4ck also mentioned about rewriting to libretroshare. Are there specific areas or features you think would be beneficial to prioritize for further development of Retroshare mobile?

Thank you :)

@csoler
Copy link
Contributor

csoler commented Feb 10, 2024

I don't know. I suppose G10H4ck is more likely to tell you.

@ayushkoli772
Copy link

Got it. Thank you :)

@defnax
Copy link
Author

defnax commented Feb 11, 2024

@ayushkoli772 any news?

@ayushkoli772
Copy link

Still working on resolving run time errors, most of these occurred because of changes done at the time of solving compile time errors to make code null safe so they are not easily solvable

@defnax
Copy link
Author

defnax commented Feb 15, 2024

hello, any updates? status?

@ayushkoli772
Copy link

Hello, Im trying to resolve errors but as I mentioned I need help of someone who knows about working of RS mobile because of changes in code due to Null safety and also some deprecated methods and libraries, I need to discuss what is the supposed working for changed code and where it affects further so I can do changes according to it, or else it will be just trial and errors approach which takes a lot of time and it might even lead to other errors.

@selankon
Copy link

selankon commented Feb 16, 2024 via email

@ayushkoli772
Copy link

Hello @selankon, errors regarding Null safety are resolved and now there are only Run time errors. It will be very helpful if you can help me to resolve these errors.

I will comment my email below this. Just tell me when you see this comment so i can delete it.

Thank you for your time :)

@selankon
Copy link

I sent u a mail

@defnax
Copy link
Author

defnax commented Feb 21, 2024

Hi any good news? i was few days away last week,

@defnax
Copy link
Author

defnax commented Feb 21, 2024

@selankon @ayushkoli772 some success with rs mobile fixes or resolse things?

@selankon
Copy link

I sent an email but no answer from ayushkoli772... I need to know what is the problem to be able to help :P

@ayushkoli772
Copy link

Hello @csoler @selankon, Im extremely sorry for not being in touch.

Im busy with my Internal college examinations since last week so it's hard to find some free time to work on the issues. And i should have informed you beforehand so i apologize for that.

I will contact you and continue resolving my issues once I'm done with this.

Thank you :)

@defnax
Copy link
Author

defnax commented Mar 6, 2024

@ayushkoli772 Hi, you know when you can continoue on it?

@defnax
Copy link
Author

defnax commented Mar 28, 2024

@ayushkoli772 any news?

@ayushkoli772
Copy link

@ayushkoli772 any news?

Hello!

I was busy for few weeks but worked on this whenever i got free time. I will compile and tell you how much work is done

@defnax
Copy link
Author

defnax commented Mar 28, 2024

Great to hear something

@defnax
Copy link
Author

defnax commented May 10, 2024

@ayushkoli772 any news?

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

7 participants