Allow importing food JSON via share intent / deep link
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 58/100
Direzione di ricerca
Start by finding the existing routine share intent and import handling, then compare its accepted JSON format with the example food payload in the issue. Add food JSON recognition through the existing intent or a deep link. Done means sharing the example food JSON opens GymMane and imports the food without manual pasting.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hey, great app. I use it for calorie tracking. Since there's no barcode scanner, I built a small scanner app for myself that looks up the nutrition values and generates the food JSON that GymMane already understands.
The problem is the last step: I have to copy the JSON, open GymMane, go to the right tab and paste it in by hand. Sharing the JSON to GymMane works for routines, but not for food. A shared food JSON isn't recognized.
Would it be possible to handle the food JSON in the existing share intent (the same way routines are imported), or to add a deep link for it? Either would let my scanner send a food to GymMane in one tap, without a manual paste.
Here's an example of what my scanner generates:
{
"gymmane": "gymmane-food",
"v": 1,
"food": {
"name": "Greek yogurt 2%",
"serving_name": "1 pot",
"grams": 170,
"liquid": false,
"per100": {"kcal": 73, "protein": 9.9, "carbs": 3.9, "fat": 2, "sugar": 3.6, "saturated": 1.3, "sodium": 36}
}
}
If the format I'm using differs from your current one in any way, tell me and I'll adjust my scanner.
- Lingua principale
- Dart
- Stelle
- 844
- Fork
- 98
- Merge medio
- 23h 57m
- PR unite (30g)
- 13
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di InlitX/GymMane
-
Can't add another GroupApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
InlitX/GymMane#409 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
KeyboardAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
I maintainer di solito rispondono entro 1 giorno
-
Weight UnitsApertaenhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 49/100
InlitX/GymMane#406 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Land Mine RotationsApertaenhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 38/100
InlitX/GymMane#405 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Progress timeApertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
InlitX/GymMane#404 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di InlitX/GymMane
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
vicajilau/flutter_file_picker#2356 ·
I maintainer di solito rispondono entro 1 giorno
-
Settings language tile overflows at phone width: DropdownButton trailing consumes the whole ListTileApertabug P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
carp-dk/carp_study_app#746 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ccch1mneyyy/dsh-Go#1454 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno