Git Product home page Git Product logo

flutter-deltachat-core's People

Contributors

boehrsi avatar cihanoezkan avatar florianhaar avatar phranck avatar robert-virkus avatar vp- avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

simon-laux

flutter-deltachat-core's Issues

Finish moving to Github

The current code is still based on the previous Git setup. To be able to build the plugin it must be adjusted. Also some of the documentation needs to get adjusted (fix links and change build instructions).

Events aren't delegated to the Flutter plugin

Describe the bug
Due to the current architecture there is the small chance that events emitted by the DeltaChatCore aren't delegated to the Flutter plugin. The native implementation is getting the events from the DCC without problems.

To Reproduce
Occurrence: [rarely]
Steps to reproduce the behavior:

  1. Perform an action which executes a DCC command and creates a new event listener right after (e.g. sending a message, which creates a listener for state changes [sent, read])

Expected behavior
All events are delegated to the Flutter plugin.

Additional context
Error case flow:

  1. Action is executed
  2. Listener registration is started (this could take a short amount of time)
  3. Event is fired
  4. Listener registration is finished
  5. Event is lost

Even if we register the listener in before, as the register call is asynchronous there can always be bad timing and lost events. This line https://github.com/open-xchange/flutter-deltachat-core/blob/develop/android/src/main/java/com/openxchange/deltachatcore/handlers/EventChannelHandler.java#L68 filters events if no listener exists.

Internal bug tracker (Android)
Internal bug tracker (iOS)

Add import / export keys support for iOS

Is your feature request related to a problem? Please describe.
Currently import / export keys is only supported by the Android part of the plugin, please add iOS support.

Describe the solution you'd like
The following flow happens on Android and should be similar on iOS:

Internal bug tracker

Android build is unable to send files

Describe the bug
Due to problems with the used PGP library we are currently unable to build a well working Android version. This issue blocks a new release for the Android version. The symptom of this problem is a bricked app, as soon as a file is received.

Additional context
To fix this we will apply a temporary fix in our build script, which changes the PGP dependency on the fly, until the problem itself is fixed.

Migrate to Android embedding v2

Is your feature request related to a problem? Please describe.
We should use Android embedding v2, as this could improve stability.

Describe the solution you'd like
αΊ‚e should follow the official documentation

UI stuck on address book import (no progress)

Description
When importing the address book the app stuck on the progress overlay. There isn't any progress visible, but the contacts are imported. Overlay doesn't disappear which results in an overall blocked UI.

Tested on

  • Simulator: iPhone 8, iPhone XR and iPhone XS
  • Device: iPhone 7
  • OS: iOS 12.4, iOS 13.1

Internal Bugtracker

Use one build script and one sub repository for the Delta Chat Core

Is your feature request related to a problem? Please describe.
We currently have multiple sub repositories for the DCC and also multiple build scripts for the platforms. We have to merge those.

Describe the solution you'd like

  • One build script, located in the project root
  • One command, with parameters if required, to build the whole DCC. This includes copying the files to the required folders for both projects
  • One import of the sub repository

Internal bug tracker

UI for Flag/Unflag a message doesn't get updated

Describe the bug
When a message gets flagged/unflagged a yellow star should appear/disappear. This already happens on restarting the app.

To Reproduce
Occurrence: [always]
Steps to reproduce the behavior:

  1. Start the app
  2. open a chat
  3. long press an unflagged message
  4. from context menu select "Flag/Unflag"

Expected behavior
A yellow star should appear next to the message.

Screenshots
FlagUnflag

Internal Bugtracker

Update wrapper components and more

Is your feature request related to a problem? Please describe.
We should update our build tools, wrapper components, fix lint issues and similar stuff.

Add method to set and get the duration.

Describe the solution you'd like
Make sure that the methods to set and get the duration are in the iOS classes.
For the Dc_Msg add:

  • DcMsg_getDuration

and for the context_createChatAttachmentMessage add setDuration(duration) for the new DcMsg.
Android part:

DcMsg newMsg = new DcMsg(dcContext, type);
newMsg.setFile(path, mimeType);
newMsg.setText(text);
newMsg.setDuration(duration);
int messageId = dcContext.sendMsg(chatId, newMsg);

Internal Bug Tracker

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.