diff --git a/AppStore/screenshots/ipad_13/01_heim.png b/AppStore/screenshots/ipad_13/01_heim.png new file mode 100644 index 0000000..20b6643 Binary files /dev/null and b/AppStore/screenshots/ipad_13/01_heim.png differ diff --git a/AppStore/screenshots/ipad_13/02_touren.png b/AppStore/screenshots/ipad_13/02_touren.png new file mode 100644 index 0000000..e164158 Binary files /dev/null and b/AppStore/screenshots/ipad_13/02_touren.png differ diff --git a/AppStore/screenshots/ipad_13/03_tour_detail.png b/AppStore/screenshots/ipad_13/03_tour_detail.png new file mode 100644 index 0000000..adf530e Binary files /dev/null and b/AppStore/screenshots/ipad_13/03_tour_detail.png differ diff --git a/AppStore/screenshots/ipad_13/04_wetter.png b/AppStore/screenshots/ipad_13/04_wetter.png new file mode 100644 index 0000000..c858950 Binary files /dev/null and b/AppStore/screenshots/ipad_13/04_wetter.png differ diff --git a/AppStore/screenshots/ipad_13/05_tagebuch.png b/AppStore/screenshots/ipad_13/05_tagebuch.png new file mode 100644 index 0000000..33143f7 Binary files /dev/null and b/AppStore/screenshots/ipad_13/05_tagebuch.png differ diff --git a/AppStore/screenshots/ipad_13/06_tagebuch_detail.png b/AppStore/screenshots/ipad_13/06_tagebuch_detail.png new file mode 100644 index 0000000..1594550 Binary files /dev/null and b/AppStore/screenshots/ipad_13/06_tagebuch_detail.png differ diff --git a/AppStore/screenshots/ipad_13/07_mehr.png b/AppStore/screenshots/ipad_13/07_mehr.png new file mode 100644 index 0000000..c878812 Binary files /dev/null and b/AppStore/screenshots/ipad_13/07_mehr.png differ diff --git a/AppStore/scripts/check_dashboard.sh b/AppStore/scripts/check_dashboard.sh new file mode 100755 index 0000000..b468de1 --- /dev/null +++ b/AppStore/scripts/check_dashboard.sh @@ -0,0 +1,27 @@ +#!/usr/bin/env bash +# Login als reviewer und zeigt was /welcome-dashboard liefert. +# Aufruf: ./AppStore/scripts/check_dashboard.sh +set -euo pipefail +BASE="https://banyaro.app" + +read -r -p "E-Mail: " EMAIL +read -r -s -p "Passwort: " PASS; echo + +LOGIN=$(curl -s -X POST "$BASE/api/auth/login" \ + -H 'Content-Type: application/json' \ + -d "$(jq -nc --arg e "$EMAIL" --arg p "$PASS" '{email:$e,password:$p}')") +TOKEN=$(echo "$LOGIN" | jq -r '.token // empty') +if [ -z "$TOKEN" ]; then + echo "❌ Login fehlgeschlagen:" + echo "$LOGIN" | jq . + exit 1 +fi +echo "✓ Eingeloggt" + +DOG=$(curl -s "$BASE/api/dogs" -H "Authorization: Bearer $TOKEN" | jq -r '.[0].id // empty') +echo "Hund-ID: $DOG" +echo "" +echo "── welcome-dashboard ──" +curl -s "$BASE/api/dogs/$DOG/welcome-dashboard" \ + -H "Authorization: Bearer $TOKEN" \ + | jq '{random_photo, last_diary, next_appointment}'