Skip to content

Commit 1f061c7

Browse files
authored
basic description about replacing maps.xdc (#2)
* basic description about replacing maps.xdc * add version number
1 parent c0cab13 commit 1f061c7

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

README.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,28 @@ to create `maps.xdc` file, execute:
3535
```
3636

3737
Note, that `maps.xdc` is meant to be used as an integration as described below
38-
and will work only limited when send to a chat.
38+
and will work only limited when send to a chat.
39+
40+
41+
## Replace Integrations
42+
43+
Webxdc developers can replace the shipped `maps.xdc` with a tweaked version -
44+
either use different map sources, different engines
45+
or add completely new features for tracking, hiking, whatever.
46+
47+
For that purpose:
48+
49+
- In `manifest.toml`, add the entry `request_integration = map`
50+
(this is already true if you use this repository as a template)
51+
52+
- Attach the `.xdc` to the "Saved Messages" chat of Delta Chat 1.50.0 or newer.
53+
If things work out,
54+
the summary will read "🌍 Used as map. Delete to use default"
55+
56+
When now tapping the map symbol _inside any chat_,
57+
the map replacement is started instead of the shipped one.
58+
59+
Note, that this has to be done locally.
60+
In a multi-device-setup, you have to perform this action for every device.
61+
62+
The replacing is experimental and not meant for end users yet but for Webxdc developers.

0 commit comments

Comments
 (0)