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

feat: app icons #84

Merged
merged 5 commits into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 3 additions & 2 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"splash": {
"image": "./assets/splash.png",
"resizeMode": "cover",
"backgroundColor": "#ffffff"
"backgroundColor": "#0F0C40"
},
"assetBundlePatterns": [
"**/*"
Expand Down Expand Up @@ -50,9 +50,10 @@
},
"android": {
"package": "com.getalby.mobile",
"icon": "./assets/icon.png",
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "#ffffff"
"backgroundImage": "./assets/adaptive-icon-bg.png"
},
"permissions": [
"android.permission.CAMERA"
Expand Down
Binary file added assets/adaptive-icon-bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/adaptive-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions eas.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
},
"production": {},
"production_apk": {
"android": {
"buildType": "apk"
}
"android": {
"buildType": "apk"
}
}
},
"submit": {
"production": {}
}
}
}
10 changes: 7 additions & 3 deletions pages/Onboarding.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import { openURL } from "expo-linking";
import { Link, Stack, router } from "expo-router";
import React from "react";
import { View } from "react-native";
import { View, Image } from "react-native";
import { Button } from "~/components/ui/button";
import { Text } from "~/components/ui/text";
import { secureStorage } from "~/lib/secureStorage";
import { hasOnboardedKey } from "~/lib/state/appStore";

export function Onboarding() {
async function finish() {
secureStorage.setItem(hasOnboardedKey, "true");
secureStorage.setItem(hasOnboardedKey, "true");
router.replace("/");
}

Expand All @@ -22,9 +22,13 @@ export function Onboarding() {
}}
/>
<View className="flex-1 flex items-center justify-center gap-4">
<Image
source={require('./../assets/logo.png')}
className="mb-10 w-52 h-52 object-contain"
/>
<Text className="font-semibold2 text-4xl text-center text-foreground">Hello there 👋</Text>
<Text className="font-medium2 text-xl text-muted-foreground text-center">
<Text className="font-semibold2 text-xl text-muted-foreground">Alby Go</Text> is a simple mobile wallet interface for your Alby Hub or other lightning nodes and wallets.
<Text className="font-semibold2 text-xl text-muted-foreground">Alby Go</Text> works best with Alby Hub and is the easiest way to use Bitcoin wherever you are.
</Text>
</View>
<Link href="/" asChild>
Expand Down
Loading