-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcapture-screenshots.sh
More file actions
executable file
·118 lines (98 loc) · 3.18 KB
/
Copy pathcapture-screenshots.sh
File metadata and controls
executable file
·118 lines (98 loc) · 3.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
#!/bin/bash
# MoveLink Screenshot Capture Script for Google Play Store
# This script helps capture screenshots from your Android device
set -e
echo "🎬 MoveLink Screenshot Capture Tool"
echo "===================================="
echo ""
# Check if adb is installed
if ! command -v adb &> /dev/null; then
echo "❌ Error: ADB not found. Please install Android SDK Platform Tools."
echo " Download from: https://developer.android.com/studio/releases/platform-tools"
exit 1
fi
# Check if device is connected
echo "🔍 Checking for connected devices..."
DEVICES=$(adb devices | grep -w "device" | wc -l)
if [ "$DEVICES" -eq 0 ]; then
echo "❌ No Android devices connected."
echo ""
echo "Please:"
echo "1. Connect your Android device via USB"
echo "2. Enable USB Debugging on your device"
echo "3. Accept USB debugging prompt on device"
echo ""
exit 1
fi
echo "✅ Device connected!"
echo ""
# Create screenshots directory
SCREENSHOT_DIR="./play-store-assets/screenshots"
mkdir -p "$SCREENSHOT_DIR"
echo "📸 Screenshots will be saved to: $SCREENSHOT_DIR"
echo ""
echo "Recommended screenshots to capture:"
echo "1. Home screen with quote request form"
echo "2. Browse movers listing page"
echo "3. Mover profile details page"
echo "4. Quote results/comparison page"
echo "5. User profile/dashboard"
echo "6. Review submission page"
echo ""
# Function to take screenshot
take_screenshot() {
local name=$1
local filename="${SCREENSHOT_DIR}/${name}.png"
echo "📸 Taking screenshot: $name"
echo " Press Enter when ready..."
read
# Capture screenshot
adb shell screencap -p /sdcard/temp_screenshot.png
adb pull /sdcard/temp_screenshot.png "$filename"
adb shell rm /sdcard/temp_screenshot.png
echo "✅ Saved: $filename"
echo ""
}
# Capture each screenshot
echo "Let's capture your screenshots!"
echo "Make sure the MoveLink app is open on your device."
echo ""
take_screenshot "01-home-quote-form"
take_screenshot "02-browse-movers"
take_screenshot "03-mover-profile"
take_screenshot "04-quote-results"
take_screenshot "05-user-dashboard"
take_screenshot "06-reviews"
# Optional: Capture additional screenshots
echo "Do you want to capture more screenshots? (y/n)"
read -r response
counter=7
while [[ "$response" =~ ^[Yy]$ ]]; do
echo "Enter screenshot name (e.g., 'settings-page'):"
read -r screenshot_name
if [ -n "$screenshot_name" ]; then
formatted_name=$(printf "%02d-%s" $counter "$screenshot_name")
take_screenshot "$formatted_name"
((counter++))
fi
echo "Capture another? (y/n)"
read -r response
done
echo ""
echo "✅ Screenshot capture complete!"
echo ""
echo "📁 Screenshots saved in: $SCREENSHOT_DIR"
echo ""
echo "Next steps:"
echo "1. Review and select the best screenshots"
echo "2. Optionally edit/crop screenshots for better presentation"
echo "3. Upload to Google Play Console (minimum 2, maximum 8)"
echo ""
echo "Play Store Requirements:"
echo "- Aspect ratio: 16:9 or 9:16"
echo "- Min dimension: 320px"
echo "- Max dimension: 3840px"
echo "- Format: PNG or JPEG"
echo ""
echo "📄 See PLAY_STORE_SUBMISSION_GUIDE.md for detailed instructions"
echo ""