Skip to content
Merged

Dev #436

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: 4 additions & 1 deletion app/(tabs)/_layout.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { lightTheme } from '@/constants/themes';
import { useWallet } from '@/hooks/wallet-store';
import Ionicons from '@expo/vector-icons/Ionicons';
import { Icon, Label, NativeTabs, VectorIcon } from 'expo-router/unstable-native-tabs';
Expand All @@ -6,7 +7,9 @@ import { Platform } from 'react-native';

export default function TabLayout() {
// Use theme from WalletProvider context for consistency
const { theme } = useWallet();
// Fallback to lightTheme if context is not available yet
const walletContext = useWallet();
const theme = walletContext?.theme ?? lightTheme;
const [themeKey, setThemeKey] = useState(0);

// Force re-render when theme changes
Expand Down
43 changes: 43 additions & 0 deletions ios/BitSleuthWallet.xcodeproj/GoogleService-Info.example.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!--
This is an EXAMPLE file. Replace with your own GoogleService-Info.plist from Firebase Console.

Instructions:
1. Go to https://console.firebase.google.com/
2. Create or select your Firebase project
3. Add an iOS app with bundle ID: ai.bitsleuth.wallet
4. Download GoogleService-Info.plist
5. Replace this example file with your downloaded file
6. Place it in: ios/BitSleuthWallet/GoogleService-Info.plist AND root directory

See docs/FIREBASE_SETUP.md for complete setup guide.
-->
<plist version="1.0">
<dict>
<key>API_KEY</key>
<string>AIzaSy_YOUR_IOS_API_KEY_HERE</string>
<key>GCM_SENDER_ID</key>
<string>YOUR_PROJECT_NUMBER</string>
<key>PLIST_VERSION</key>
<string>1</string>
<key>BUNDLE_ID</key>
<string>ai.bitsleuth.wallet</string>
<key>PROJECT_ID</key>
<string>your-project-id</string>
<key>STORAGE_BUCKET</key>
<string>your-project-id.appspot.com</string>
<key>IS_ADS_ENABLED</key>
<false></false>
<key>IS_ANALYTICS_ENABLED</key>
<false></false>
<key>IS_APPINVITE_ENABLED</key>
<true></true>
<key>IS_GCM_ENABLED</key>
<true></true>
<key>IS_SIGNIN_ENABLED</key>
<true></true>
<key>GOOGLE_APP_ID</key>
<string>1:YOUR_PROJECT_NUMBER:ios:YOUR_APP_ID</string>
</dict>
</plist>
70 changes: 35 additions & 35 deletions ios/BitSleuthWallet.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

43 changes: 43 additions & 0 deletions ios/GoogleService-Info.example.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!--
This is an EXAMPLE file. Replace with your own GoogleService-Info.plist from Firebase Console.

Instructions:
1. Go to https://console.firebase.google.com/
2. Create or select your Firebase project
3. Add an iOS app with bundle ID: ai.bitsleuth.wallet
4. Download GoogleService-Info.plist
5. Replace this example file with your downloaded file
6. Place it in: ios/BitSleuthWallet/GoogleService-Info.plist AND root directory

See docs/FIREBASE_SETUP.md for complete setup guide.
-->
<plist version="1.0">
<dict>
<key>API_KEY</key>
<string>AIzaSy_YOUR_IOS_API_KEY_HERE</string>
<key>GCM_SENDER_ID</key>
<string>YOUR_PROJECT_NUMBER</string>
<key>PLIST_VERSION</key>
<string>1</string>
<key>BUNDLE_ID</key>
<string>ai.bitsleuth.wallet</string>
<key>PROJECT_ID</key>
<string>your-project-id</string>
<key>STORAGE_BUCKET</key>
<string>your-project-id.appspot.com</string>
<key>IS_ADS_ENABLED</key>
<false></false>
<key>IS_ANALYTICS_ENABLED</key>
<false></false>
<key>IS_APPINVITE_ENABLED</key>
<true></true>
<key>IS_GCM_ENABLED</key>
<true></true>
<key>IS_SIGNIN_ENABLED</key>
<true></true>
<key>GOOGLE_APP_ID</key>
<string>1:YOUR_PROJECT_NUMBER:ios:YOUR_APP_ID</string>
</dict>
</plist>
Loading