Files
self/packages/mobile-sdk-demo
Javier Cortejoso 4b09e5b96f Remove personal access token (#1481)
* Refactor NFC scanner tests to use a global variable for platform OS, allowing dynamic switching between iOS and Android during tests. This change improves test isolation and avoids hoisting issues with jest.mock.

* feat: add GitHub App token generation action for self repositories

- Introduced a new action to generate GitHub App tokens for accessing repositories within the selfxyz organization.
- Updated multiple workflows to utilize the new action for token generation, ensuring secure access to private repositories during CI processes.
- Modified Podfile and scripts to support authentication using the generated token, enhancing the cloning of private modules in CI environments.

* chore: enhance CI workflows with Git authentication for CocoaPods

- Updated multiple CI workflows to include a step for configuring Git authentication for CocoaPods, ensuring secure access to private repositories without embedding credentials in URLs.
- Added masking for sensitive tokens in logs to enhance security during CI processes.
- Modified the Podfile to avoid printing authentication details in CI logs, improving overall security practices.

* chore: enhance CI workflows with optional Git authentication configuration

- Added new inputs to the GitHub action for generating GitHub tokens, allowing optional configuration of a ~/.netrc entry for Git authentication.
- Updated multiple CI workflows to utilize the new configuration, improving security and simplifying access to private repositories during builds.
- Removed redundant Git authentication steps from workflows, streamlining the CI process while maintaining secure access to necessary resources.

* chore: update Podfile for secure Git authentication in CI

- Modified the Podfile to enhance security by avoiding the embedding of credentials in URLs for accessing the NFCPassportReader repository during CI processes.
- Added comments to guide developers on using workflow-provided authentication methods, improving overall security practices in the project.
2025-12-12 12:38:23 +01:00
..
2025-11-11 10:37:05 -08:00
2025-12-12 12:38:23 +01:00
2025-12-09 12:56:05 +01:00
2025-10-06 15:10:06 -07:00

Self Demo App

This is a demo application for testing the Self mobile SDK.

Configuration

New Architecture

The new architecture (Fabric + TurboModules) can be toggled on/off:

Android: Set newArchEnabled in android/gradle.properties

  • newArchEnabled=true - Enable new architecture
  • newArchEnabled=false - Disable new architecture (default)

iOS: Set :fabric_enabled in ios/Podfile

  • :fabric_enabled => true - Enable new architecture
  • :fabric_enabled => false - Disable new architecture (default)

Hermes Engine

Hermes JavaScript engine can be toggled on/off:

Android: Set hermesEnabled in android/gradle.properties

  • hermesEnabled=true - Enable Hermes (default)
  • hermesEnabled=false - Use JSC instead

iOS: Set :hermes_enabled in ios/Podfile

  • :hermes_enabled => true - Enable Hermes (default)
  • :hermes_enabled => false - Use JSC instead

Current Settings

  • New Architecture: Disabled
  • Hermes: Enabled

Build Commands

After changing configuration:

# Clean and rebuild
yarn clean

# Run on Android
yarn android

# Run on iOS
yarn ios