Can anyone help with the implementation of the webxdc project
Since I’m not a great programmer… I need help in formalizing the application structure into code (of course, with solving some internal problems in the application).
The main problems on the way to implementation:
Map integration and/or geolocation in the menu, including the means of substituting an address when assigning an address inside the application from the database.
The ability to calculate.
After the task is announced in the chat, the ability to process this task in the future so that other participants cannot take it for processing again.
Ok, but just select address from menu in xdc app … it is possible, and about free or for pay, no one even offers a price (profit) even
Аnd didn’t ask what I was talking about at all
An application for couriers (delivery services, taxis, for example) to deliver from point A to point B.
Implementation of such a service only in the form of a bot (or in chat dialogue) is a so-so idea (it is difficult for visual perception and too many actions need to be performed in order to ultimately get what you need: enter the address (addresses), select what, when, etc.).
Here the webdxc+bot integration is good and there are already examples of this.
Well, as an example, I tried to make something like a simple .xdc myself (you can see how it works one of them based on an .html template).
I need to understand, for example: how to make it so that the text (contacts or from basic_markup.html (in Forms) could be transmitted directly to the chat and fixed there).
There is something to think about for the implementation of the project galaxy-mobi.xdc (44.0 KB) andrei.xdc (881 Bytes)
so, i think, to get help, you should elaborate more what you’re trying to do, what the state is etc. “Works with text in chat now! From: contact page form…” is hard to get in the context of an “example” for “An application for couriers”
i’d create a git repo somewhere, add an telling README with screenshots and/or scetches, upload the source, and point ppl there. questions can be much more substantial then, and you would save your and others ppl time
But due to the fact that this is a new story with the creation of the application, at this stage I have several questions, because every time I come across certain restrictions (I understand that they are necessary) but:
What can be the maximum size of the application?
I need anyone to be able to send a message from the form from the xdc application and the recipient receives it already in the form of simple text in the chat, here I see that it is necessary to use only a bot … there is no other way? (Although in another case I see that I can send messages in text form (from a completed form in the application) to any other interlocutor, but in this case I have to select him from the list of contacts…)
The Delta Chat API in XDC applications does not support sending messages directly to an arbitrary address, even if a chat with this address has already been created. This limitation is due to the fact that XDC applications only work in the context of the current chat from which they are launched?
depends on the involved email providers and their file limits, to be on the safe side I’d stay under 5mb.
You can use a bot or a custom dc fork with an extra api.
Though note that there are already 2 ways to send simple messages to a chat:
with every webxdc status update you can send messages that appear like this in the chat (update.info, and with update.notify you can even have notifications for these messages: sendUpdate - Webxdc )
the other option is to use webxdc.sendToChat with which you can send a file and text message, but the user needs to select a chat where it should be sent to.
More like security, that webxdc apps can not do bad stuff like stealing your data.