Skip to content

Conversation

@dporwal-shipit
Copy link
Collaborator

No description provided.

isouravganguly and others added 9 commits October 1, 2025 14:35
Backmerge Prod 5.3.0 to development
Contains version update 5.2.0 -> 5.3.0
…lug iOS (#122)

* fix: update method signatures to use BOOL instead of BOOL* for better clarity

* making changes to enable new arch in react native sdk

* making changes as per review

* chore(fix): resolve issue of unable to use custom colors in header and back icon in smallPlug

---------

Co-authored-by: Sourav Ganguly (isouravganguly) <[email protected]>
* add: 16kb compatible, adding a 'reset' script to clean build folders, lock files, runtime-generated files and node modules - makes it easier to clean and rebuilt

* chore: update gatewaySDK dependencies(internal) in build.gradle for smallcase

* fix: update loans SDK dependency to beta version for compatibility

* version-bump: gateway:sdk:4.4.1

* chore(release): 5.3.1

* chore(release): scg(ios): 4.4.1, scg(android): 4.4.2

* chore(release): 5.3.2

---------

Co-authored-by: Sourav Ganguly (isouravganguly) <[email protected]>
…S SDKs (#106)

* fix: setup sdk function working now

* feat: remove old example app and add new smart investing app

Use react-native 0.79.4 to setup the app

* chore: android working state with 0.79.4

Updated the version of react-native-screens to ^3.34.0 in package.json and modified the Android build.gradle to include jcenter in the repositories list. Also, adjusted gradle.properties to disable new architecture and added artifactory credentials.

* chore: ios working state with 0.79.4

Swapped the API categories in PrivacyInfo.xcprivacy and updated the project.pbxproj to include PrivacyInfo.xcprivacy in the Resources build phase. Adjusted build settings to include new flags and development team information.

* feat: implement core functionality for smart investing app

Added multiple screens and components for the smart investing app, including ConnectScreen, HoldingsScreen, and SmtScreen. Introduced context providers for environment and SST cart management. Integrated API functions for handling user interactions and data fetching. Updated package.json to include react-native-gesture-handler and other dependencies. Enhanced the app's structure with new models and services for better data management.

* chore: revert back iOS min version and SCGateway dependency to match
current prod values

* chore: update Podfile.lock

Add cdn url for cocoapods specs

* feat(analytics): Adding events capturing through new RCTBridgeModule

* feat(analytics): Adding events capturing through new RCTBridgeModule

* feature(analytics): working state

* chore: update SCGateway dependency to version 4.1.5 in Podfile.lock

* chore: update iOS run script to list available devices

* revert: change impl. back to stable version

We had changed parameter types for isLeprechaunActive, isAmoEnabled, and showLoginCta from BOOL* to BOOL in setConfigEnvironment and triggerLeadGenWithLoginCta methods for supporting the new architecture.

We are reverting these changes so that we can first thoroughly validate these changes against both the old/new ARCHS and then proceed.

* feature(analytics): updated code to capture events.

* feature(analytics): updated code to capture events.

* feat(analytics):- remove Mixpanel from SCLoans and substitute with new tracking
- Replaced Mixpanel tracking calls in SCLoans with internal analytics events
- Removed Mixpanel SDK dependency from gradle
- Verified build and functionality on working version

* app building

* developing android event flow

* feature(analytics): working state android and ios scgateway emitters

* feature(analytics): Working state android scloans events incoming

* feature(analytics): working state ios events emission-capturing

* feature(analytics): working state android events emission-capturing

* refactor(analytics): restructure event bridging logic for improved maintainability
- Simplified event flow between native and JS layers
- Improved code readability and reduced complexity
- Easier to extend with new analytics events in future

* refactor(analytics): restructure loans event bridging logic for improved maintainability
- Simplified event flow between native and JS layers
- Improved code readability and reduced complexity
- Easier to extend with new analytics events in future

* feature(analytics): making changes as requested in PR reviews

* feature(analytics): making changes as per PR request reviews

* feature(analytics): making changes as per PR request reviews

* refactor(SCGatewayEvents): streamline initialization and subscription logic

* refactor(analytics): refactoring the native files in bridge to forward the stringified payload

* refactor(analytics): refactoring the code, shifted App.tsx from class to functional components

* refactor(analytics): working state of android scgateway & scloans

* refactor(analytics): working state of ios scgateway & scloans

* refactor(analytics): making use of native sdk exposed properties directly in React Native plugin

* refactor(analytics): standardize class structure with formatting and proper ordering as per syntax

* refactor: improve event emitters and clean up codebase

- Fix Kotlin syntax errors and formatting issues in bridge emitters
- Remove unnecessary try-catch blocks for cleaner error handling
- Update App.tsx for functional components
- Replace SDK-supplied constants with JS constants for better consistency
- Improve code readability and maintainability

Affects:
- Android: SCGatewayBridgeEmitter.kt, SCLoansBridgeEmitter.kt
- iOS: SCGatewayEmitter.swift, SCLoansEmitter.swift
- JS: SCGatewayEventEmitter.js, SCLoansEventEmitter.js
- App: App.tsx

* refactor: we no longer need try-catch in onCatalystInstanceDestroy

* refactor: we no longer need try-catch in onCatalystInstanceDestroy

* refactor: renaming to ensure consistency across ios/android

* changed the PRODUCT_BUNDLE_IDENTIFIER and updated build.gradle with new android sdk

* making changes as per PR reviews

* making changes as per PR

* 2nd emitter got added while testing in XCode-VSCode, removed

* making changes as per PR reviews

---------

Co-authored-by: aaditya singh <[email protected]>
Co-authored-by: indrajit-roy-sc <[email protected]>
@dporwal-shipit dporwal-shipit self-assigned this Nov 20, 2025
@dporwal-shipit dporwal-shipit requested review from LonelyCpp, indrajit-roy-sc and isouravganguly and removed request for LonelyCpp November 20, 2025 13:19
@dporwal-shipit dporwal-shipit merged commit 2559447 into prod Nov 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants