Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iPad #301

Merged
merged 43 commits into from
Dec 11, 2024
Merged

iPad #301

Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
0191c2f
feat: set up tablet version with capacitor
siandreev Nov 6, 2024
c4a753c
Merge branch 'main' into feature/ipad
siandreev Nov 18, 2024
4d86bf4
chore: set up tablet live reload
siandreev Nov 18, 2024
bd1fb4e
chore: add capacitor app and open page method
siandreev Nov 18, 2024
f3975c4
chore: build script
siandreev Nov 18, 2024
5a7ffcb
feat: ios biometrics plugin
siandreev Nov 18, 2024
b137d96
feat: ios keychain plugin
siandreev Nov 18, 2024
58ecdb7
fix: cors & cookies
siandreev Nov 18, 2024
6eb92c8
feat: implement ton connect for tablet
siandreev Dec 3, 2024
55d44cf
fix: make QR reader prefer back camera
siandreev Dec 3, 2024
ec55652
fix: ios secure storage plugin:
siandreev Dec 3, 2024
61bdf22
fix: ios app config updates
siandreev Dec 3, 2024
1875994
Merge branch 'main' into feature/ipad
KuznetsovNikita Dec 3, 2024
dc7c8bf
Update lock
KuznetsovNikita Dec 3, 2024
f46fa46
Update app
KuznetsovNikita Dec 3, 2024
97280fb
Init Ci/CD
KuznetsovNikita Dec 3, 2024
6a339a2
Update spaces
KuznetsovNikita Dec 3, 2024
0a834ce
Update version + command
KuznetsovNikita Dec 3, 2024
b6fe31c
Gemfile lock
KuznetsovNikita Dec 3, 2024
7fd126e
Update cert
KuznetsovNikita Dec 4, 2024
e4ce022
remove Playwright cache
KuznetsovNikita Dec 4, 2024
6dd8fbc
fix: ios app images
siandreev Dec 4, 2024
5e67f76
fix: add aptbase and hide content functionality
siandreev Dec 4, 2024
580a97e
fix: app icons
siandreev Dec 5, 2024
2a2d4e7
fix: update app icon
siandreev Dec 5, 2024
f641b02
feat: initialize push notifications; add pull to refresh
siandreev Dec 6, 2024
18a3995
Update profile
KuznetsovNikita Dec 7, 2024
dc5247a
live false
KuznetsovNikita Dec 7, 2024
a3fd20e
initial_build_number
KuznetsovNikita Dec 7, 2024
eaa7ab0
Update config
KuznetsovNikita Dec 7, 2024
82613ff
Add keys
KuznetsovNikita Dec 7, 2024
6331c72
Add NSPhotoLibraryUsageDescription
KuznetsovNikita Dec 8, 2024
a1a970a
Remove apple vision distribution
KuznetsovNikita Dec 8, 2024
f392898
create_changelog
KuznetsovNikita Dec 8, 2024
1bccaa4
deliver => pilot
KuznetsovNikita Dec 8, 2024
443b713
Clean-up
KuznetsovNikita Dec 8, 2024
aa516ec
feat: push notifications for iPad
siandreev Dec 9, 2024
5e574cf
fix: scroll in modals on iPad
siandreev Dec 10, 2024
7f4556e
fix: notifications fix
siandreev Dec 10, 2024
ea5025b
fix: history and swaps page on iPad
siandreev Dec 10, 2024
b89638c
fix: disable text selection on iPad
siandreev Dec 10, 2024
2165ee1
fix: add copy button to recovery page
siandreev Dec 10, 2024
72d5c2b
fix: global iPad styles added
siandreev Dec 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions apps/tablet/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
VITE_APP_LOCALES=en,zh_TW,zh_CN,id,ru,it,es,uk,tr,bg,uz,bn
VITE_APP_AMPLITUDE=
VITE_APP_TONCONSOLE_HOST=https://pro.tonconsole.com
VITE_APP_TG_BOT_ID=6345183204
VITE_APP_TG_BOT_ORIGIN=https://tonkeeper.com
VITE_APP_STONFI_REFERRAL_ADDRESS=UQCthC8ICK7K8Hkfm9smblLFroKrYrEMwZuoD4Nbm5LswUnc
8 changes: 8 additions & 0 deletions apps/tablet/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.idea/
node_modules/
.vscode/
*.map
.DS_Store
.sourcemaps
dist/
/capacitor.live-reload-config.ts
11 changes: 11 additions & 0 deletions apps/tablet/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Tonkeeper tablet

### Start development server
1. `chmod +x live-reload.sh`
2. `yarn start`
3. Open xcode and run the app in ./ios directory

### Build app
1. `chmod +x build.sh`
2. `yarn build`
3. Open xcode and run the app in ./ios directory
12 changes: 12 additions & 0 deletions apps/tablet/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash
rm -f vite.log
CAPACITOR_CONFIG_FILE="./capacitor.live-reload-config.ts"

cat > "$CAPACITOR_CONFIG_FILE" <<EOL
export const server = undefined;
EOL

echo "Updated $CAPACITOR_CONFIG_FILE with the empty Vite server"

echo "Running npx cap sync..."
tsc && vite build && cap sync
10 changes: 10 additions & 0 deletions apps/tablet/capacitor.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"appId": "com.tonkeeper.pro.app",
"appName": "Tonkeeper Pro",
"webDir": "dist",
"plugins": {
"SplashScreen": {
"launchShowDuration": 0
}
}
}
22 changes: 22 additions & 0 deletions apps/tablet/capacitor.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { CapacitorConfig } from '@capacitor/cli';
import { server } from "./capacitor.live-reload-config";

const config: CapacitorConfig = {
appId: 'com.tonkeeper.pro.app',
appName: 'Tonkeeper Pro',
webDir: 'dist',
plugins: {
SplashScreen: {
launchShowDuration: 0
},
CapacitorHttp: {
enabled: true
},
CapacitorCookies: {
enabled: true
},
},
server
};

export default config;
16 changes: 16 additions & 0 deletions apps/tablet/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Tonkeeper Pro</title>

<link
href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&amp;display=swap"
rel="stylesheet"
/>
</head>
<body style="background:#10161F">
<script type="module" src="./src/index.tsx"></script>
<div id="root"></div>
</body>
</html>
13 changes: 13 additions & 0 deletions apps/tablet/ios/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
App/build
App/Pods
App/output
App/App/public
DerivedData
xcuserdata

# Cordova plugins for Capacitor
capacitor-cordova-ios-plugins

# Generated Config files
App/App/capacitor.config.json
App/App/config.xml
Loading
Loading