Skip to content

Commit

Permalink
release: app-mobile v4.25.0 (#3017)
Browse files Browse the repository at this point in the history
  • Loading branch information
stackchain authored Feb 7, 2024
2 parents 5d1ae07 + 25c9c0a commit 9f5724f
Show file tree
Hide file tree
Showing 645 changed files with 39,603 additions and 16,412 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,7 @@ jobs:
yarn install
cd apps/wallet-mobile
yarn install
cd ios
pod install
cd ..
npx pod-install --yes
yarn workspaces run build
- name: Copy Apple Signing Key
run: |
Expand Down
4 changes: 3 additions & 1 deletion apps/wallet-mobile/.env
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ WALLET_2_MNEMONIC=abandon abandon abandon abandon abandon abandon abandon abando
BANXA_TEST_WALLET=addr1qyfuspldlchc5kechfe5jzdrr9jms2s9w0tq4hggy9zgkhxssydveuc8xyx4zh27fwcmr62mraeezjwf24hzkyejwfmq7yptmd

FRONTEND_FEE_ADDRESS_MAINNET=addr1q9ry6jfdgm0lcrtfpgwrgxg7qfahv80jlghhrthy6w8hmyjuw9ngccy937pm7yw0jjnxasm7hzxjrf8rzkqcj26788lqws5fke
FRONTEND_FEE_ADDRESS_PREPROD=addr_test1qrgpjmyy8zk9nuza24a0f4e7mgp9gd6h3uayp0rqnjnkl54v4dlyj0kwfs0x4e38a7047lymzp37tx0y42glslcdtzhqzp57km
FRONTEND_FEE_ADDRESS_PREPROD=addr_test1qrgpjmyy8zk9nuza24a0f4e7mgp9gd6h3uayp0rqnjnkl54v4dlyj0kwfs0x4e38a7047lymzp37tx0y42glslcdtzhqzp57km

UNSTOPPABLE_API_KEY=czsajliz-wxgu6tujd1zqq7hey_pclfqhdjsqolsxjfsurgh
4 changes: 3 additions & 1 deletion apps/wallet-mobile/.env.nightly
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ DISABLE_LOGBOX=true
BANXA_TEST_WALLET=addr1qyfuspldlchc5kechfe5jzdrr9jms2s9w0tq4hggy9zgkhxssydveuc8xyx4zh27fwcmr62mraeezjwf24hzkyejwfmq7yptmd

FRONTEND_FEE_ADDRESS_MAINNET=addr1q9ry6jfdgm0lcrtfpgwrgxg7qfahv80jlghhrthy6w8hmyjuw9ngccy937pm7yw0jjnxasm7hzxjrf8rzkqcj26788lqws5fke
FRONTEND_FEE_ADDRESS_PREPROD=addr_test1qrgpjmyy8zk9nuza24a0f4e7mgp9gd6h3uayp0rqnjnkl54v4dlyj0kwfs0x4e38a7047lymzp37tx0y42glslcdtzhqzp57km
FRONTEND_FEE_ADDRESS_PREPROD=addr_test1qrgpjmyy8zk9nuza24a0f4e7mgp9gd6h3uayp0rqnjnkl54v4dlyj0kwfs0x4e38a7047lymzp37tx0y42glslcdtzhqzp57km

UNSTOPPABLE_API_KEY=czsajliz-wxgu6tujd1zqq7hey_pclfqhdjsqolsxjfsurgh
4 changes: 3 additions & 1 deletion apps/wallet-mobile/.env.production
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ BUILD_VARIANT=PROD
SENTRY_DSN=https://[email protected]/6783228

FRONTEND_FEE_ADDRESS_MAINNET=addr1q9ry6jfdgm0lcrtfpgwrgxg7qfahv80jlghhrthy6w8hmyjuw9ngccy937pm7yw0jjnxasm7hzxjrf8rzkqcj26788lqws5fke
FRONTEND_FEE_ADDRESS_PREPROD=addr_test1qrgpjmyy8zk9nuza24a0f4e7mgp9gd6h3uayp0rqnjnkl54v4dlyj0kwfs0x4e38a7047lymzp37tx0y42glslcdtzhqzp57km
FRONTEND_FEE_ADDRESS_PREPROD=addr_test1qrgpjmyy8zk9nuza24a0f4e7mgp9gd6h3uayp0rqnjnkl54v4dlyj0kwfs0x4e38a7047lymzp37tx0y42glslcdtzhqzp57km

UNSTOPPABLE_API_KEY=czsajliz-wxgu6tujd1zqq7hey_pclfqhdjsqolsxjfsurgh
4 changes: 3 additions & 1 deletion apps/wallet-mobile/.env.staging
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ WALLET_2_MNEMONIC=abandon abandon abandon abandon abandon abandon abandon abando
BANXA_TEST_WALLET=addr1qyfuspldlchc5kechfe5jzdrr9jms2s9w0tq4hggy9zgkhxssydveuc8xyx4zh27fwcmr62mraeezjwf24hzkyejwfmq7yptmd

FRONTEND_FEE_ADDRESS_MAINNET=addr1q9ry6jfdgm0lcrtfpgwrgxg7qfahv80jlghhrthy6w8hmyjuw9ngccy937pm7yw0jjnxasm7hzxjrf8rzkqcj26788lqws5fke
FRONTEND_FEE_ADDRESS_PREPROD=addr_test1qrgpjmyy8zk9nuza24a0f4e7mgp9gd6h3uayp0rqnjnkl54v4dlyj0kwfs0x4e38a7047lymzp37tx0y42glslcdtzhqzp57km
FRONTEND_FEE_ADDRESS_PREPROD=addr_test1qrgpjmyy8zk9nuza24a0f4e7mgp9gd6h3uayp0rqnjnkl54v4dlyj0kwfs0x4e38a7047lymzp37tx0y42glslcdtzhqzp57km

UNSTOPPABLE_API_KEY=czsajliz-wxgu6tujd1zqq7hey_pclfqhdjsqolsxjfsurgh
1 change: 0 additions & 1 deletion apps/wallet-mobile/.prettierignore

This file was deleted.

36 changes: 0 additions & 36 deletions apps/wallet-mobile/.storybook/decorators/LayoutGrid.tsx

This file was deleted.

2 changes: 0 additions & 2 deletions apps/wallet-mobile/.storybook/decorators/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
export * from './intl'
export * from './LayoutGrid'
export * from './modals'
export * from './navigation'
export * from './query'
Expand Down
5 changes: 0 additions & 5 deletions apps/wallet-mobile/.storybook/decorators/intl.tsx

This file was deleted.

71 changes: 5 additions & 66 deletions apps/wallet-mobile/.storybook/decorators/navigation.tsx
Original file line number Diff line number Diff line change
@@ -1,77 +1,16 @@
import React from 'react'
import {NavigationContext, NavigationProp, NavigationRouteContext, RouteProp} from '@react-navigation/native'
import {action} from '@storybook/addon-actions'

import {StackNavigationProp} from '@react-navigation/stack'
import {BottomTabNavigationProp} from '@react-navigation/bottom-tabs'

export const navigation = {
setParams: action('setParams'),
setOptions: action('setOptions'),

// NavigationHelpers
dispatch: action('dispatch'),
navigate: action('navigate'),
reset: action('reset'),
goBack: action('goBack'),
isFocused: (...args) => {
action('isFocused')

return true
},
canGoBack: (...args) => {
action('canGoBack')

return true
},

// EventConsumer
addListener: (event: string) => {
action('addListener')(event)

return () => action('unsubscribe')(event)
},
removeListener: action('removeListener'),
}

export const stackNavigation: Partial<StackNavigationProp<any>> = {
...navigation,
replace: action('replace'),
push: action('push'),
pop: action('pop'),
popToTop: action('popToTop'),
}

export const tabNavigation: Partial<BottomTabNavigationProp<any>> = {
...navigation,
jumpTo: action('jumpTo'),
}

export const CommonNavigationProvider = ({children}: {children: React.ReactNode}) => (
<NavigationContext.Provider value={navigation as any}>{children}</NavigationContext.Provider>
)

export const StackNavigationProvider = ({children}: {children: React.ReactNode}) => (
<NavigationContext.Provider value={stackNavigation as NavigationProp<any>}>{children}</NavigationContext.Provider>
)

export const TabNavigationProvider = ({children}: {children: React.ReactNode}) => (
<NavigationContext.Provider value={tabNavigation as NavigationProp<any>}>{children}</NavigationContext.Provider>
)
import {NavigationRouteContext} from '@react-navigation/native'

const route = {
key: 'route.key',
name: 'route.name',
}

export const RouteProvider: React.FC<React.PropsWithChildren<{params?: Record<string, unknown>}>> = ({children, params}) => (
export const RouteProvider: React.FC<React.PropsWithChildren<{params?: Record<string, unknown>}>> = ({
children,
params,
}) => (
<NavigationRouteContext.Provider value={params ? {...route, params} : route}>
{children}
</NavigationRouteContext.Provider>
)

export const withCommonNavigation = (storyFn) => (
<CommonNavigationProvider>
<RouteProvider>{storyFn({navigation, route})}</RouteProvider>
</CommonNavigationProvider>
)
Loading

0 comments on commit 9f5724f

Please sign in to comment.