Skip to content

feat(mobile): set up notifications, TransactionItem, history & success screens#412

Open
BashMan11 wants to merge 1 commit into
BlockHaven-Labs:mainfrom
BashMan11:feat/mobile-issues-269-270-272-273
Open

feat(mobile): set up notifications, TransactionItem, history & success screens#412
BashMan11 wants to merge 1 commit into
BlockHaven-Labs:mainfrom
BashMan11:feat/mobile-issues-269-270-272-273

Conversation

@BashMan11
Copy link
Copy Markdown

Summary

Resolves 4 open mobile issues in one PR.

Changes

#273 – Set up Expo Notifications

  • Added expo-notifications to the plugins array in mobile/app.json
  • Added android.useNextNotificationsApi: true in mobile/app.json
  • mobile/services/notifications.ts implements registerForPushNotificationsAsync() (requests permission, returns Expo push token, logs it on app start) and scheduleLocalNotification(title, body, trigger)

#272 – TransactionItem component

  • mobile/components/transactions/TransactionItem.tsx: typed props (type, description, amount, date), type icons (↑ red / ↓ green / − grey), formatXLM amount, relative date helper, wrapped in React.memo
  • mobile/components/transactions/index.ts: re-exports component and type

#270 – Transaction history screen

  • mobile/app/transactions/index.tsx: FlatList with TransactionItem rows, pull-to-refresh, onEndReached pagination, ActivityIndicator loading state, EmptyState when list is empty

#269 – Transaction success screen

  • mobile/app/transaction/success.tsx: accepts txHash route param, displays truncated hash, 'View on Stellar Expert' link via Linking.openURL, 'Done' button navigates to /(tabs) with router.replace, back gesture disabled via Stack.Screen gestureEnabled: false

Testing

  • All screens render without runtime errors
  • Pull-to-refresh and pagination work on the history screen
  • Explorer link opens the correct Stellar Expert URL
  • Back gesture is disabled on the success screen

Closes #269
Closes #270
Closes #272
Closes #273

…lockHaven-Labs#272 BlockHaven-Labs#273

- BlockHaven-Labs#273: Add expo-notifications plugin and android.useNextNotificationsApi to app.json;
  implement registerForPushNotificationsAsync and scheduleLocalNotification in
  mobile/services/notifications.ts
- BlockHaven-Labs#272: Create TransactionItem component with type icons, formatXLM amounts, and
  relative dates in mobile/components/transactions/
- BlockHaven-Labs#270: Build paginated transaction history screen with pull-to-refresh, load-more,
  empty state, and loading skeleton in mobile/app/transactions/index.tsx
- BlockHaven-Labs#269: Build transaction success screen with explorer link, truncated hash display,
  and back-gesture disabled in mobile/app/transaction/success.tsx

Closes BlockHaven-Labs#269, Closes BlockHaven-Labs#270, Closes BlockHaven-Labs#272, Closes BlockHaven-Labs#273
@vercel
Copy link
Copy Markdown

vercel Bot commented May 29, 2026

@BashMan11 is attempting to deploy a commit to the aminubabafatima8-gmailcom's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant