diff --git a/CHANGELOG.md b/CHANGELOG.md index dc6351a..e4ad859 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,7 +18,7 @@ ## 2.0.0 -* Update native ramp sdk to support off-ramp +* Update native Ramp Network sdk to support off-ramp ## 1.0.2 diff --git a/README.md b/README.md index 549b2b7..367853c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -# Ramp Flutter +# Ramp Network Flutter -Official Flutter wrapper for Ramp +Official Flutter wrapper for Ramp Network ## Getting Started -For installation & usage follow [Ramp Flutter documentation](https://docs.ramp.network/mobile/flutter-sdk/) +For installation & usage follow [Ramp Network Flutter documentation](https://docs.ramp.network/mobile/flutter-sdk/) diff --git a/android/src/main/kotlin/network/ramp/ramp_flutter/RampFlutterPlugin.kt b/android/src/main/kotlin/network/ramp/ramp_flutter/RampFlutterPlugin.kt index f878e0f..1138f52 100644 --- a/android/src/main/kotlin/network/ramp/ramp_flutter/RampFlutterPlugin.kt +++ b/android/src/main/kotlin/network/ramp/ramp_flutter/RampFlutterPlugin.kt @@ -102,7 +102,7 @@ class RampFlutterPlugin : FlutterPlugin, MethodCallHandler, ActivityAware { private fun makeConfiguration(arguments: Any): Config? { val map = arguments as? Map<*, *> ?: return null - val hostAppName = map["hostAppName"] as? String ?: "Ramp Integration" + val hostAppName = map["hostAppName"] as? String ?: "Ramp Network Integration" val hostLogoUrl = map["hostLogoUrl"] as? String ?: "https://ramp.network/assets/images/Logo.svg" val url = map["url"] as? String ?: "https://app.ramp.network" val config = Config(hostAppName, hostLogoUrl, url) diff --git a/example/lib/main.dart b/example/lib/main.dart index 365812b..37389b4 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -53,7 +53,7 @@ class _RampFlutterAppState extends State { @override void initState() { - _configuration.hostAppName = "Ramp Flutter"; + _configuration.hostAppName = "Ramp Network Flutter"; _configuration.url = _predefinedEnvironments[_selectedEnvironment]; _configuration.enabledFlows = ["ONRAMP", "OFFRAMP"]; _configuration.useSendCryptoCallback = true; @@ -77,11 +77,11 @@ class _RampFlutterAppState extends State { String purchaseViewToken, String apiUrl, ) { - _showNotification("Ramp Notification", "onramp purchase created"); + _showNotification("Ramp Network Notification", "onramp purchase created"); } void onSendCryptoRequested(SendCryptoPayload payload) { - _showNotification("Ramp Notification", "send crypto requested"); + _showNotification("Ramp Network Notification", "send crypto requested"); ramp.sendCrypto("123"); } @@ -90,11 +90,11 @@ class _RampFlutterAppState extends State { String saleViewToken, String apiUrl, ) { - _showNotification("Ramp Notification", "offramp sale created"); + _showNotification("Ramp Network Notification", "offramp sale created"); } void onRampClosed() { - _showNotification("Ramp Notification", "ramp closed"); + _showNotification("Ramp Network Notification", "ramp closed"); } @override @@ -102,7 +102,7 @@ class _RampFlutterAppState extends State { return PlatformApp( home: PlatformScaffold( appBar: PlatformAppBar( - title: const Text('Ramp Flutter'), + title: const Text('Ramp Network Flutter'), ), body: Padding( padding: const EdgeInsets.fromLTRB(10, 0, 10, 0), diff --git a/ios/ramp_flutter.podspec b/ios/ramp_flutter.podspec index 89f172a..55a3e4a 100644 --- a/ios/ramp_flutter.podspec +++ b/ios/ramp_flutter.podspec @@ -1,11 +1,11 @@ Pod::Spec.new do |s| s.name = 'ramp_flutter' s.version = '1.0.1' - s.summary = 'Ramp iOS wrapper for Flutter.' + s.summary = 'Ramp Network iOS wrapper for Flutter.' s.description = <<-DESC - Ramp for Flutter is a simple wrapper for native iOS and Android Ramp SDKs. + Ramp Network for Flutter is a simple wrapper for native iOS and Android Ramp Network SDKs. Unified API lets you write code once and use on any of the platforms. - Ramp Flutter SDK supports iOS and Android platforms. + Ramp Network Flutter SDK supports iOS and Android platforms. DESC s.homepage = 'https://docs.ramp.network/mobile/flutter-sdk/' s.license = 'MIT' diff --git a/lib/ramp_flutter.dart b/lib/ramp_flutter.dart index 3f4dbae..be3be42 100644 --- a/lib/ramp_flutter.dart +++ b/lib/ramp_flutter.dart @@ -7,7 +7,7 @@ import 'package:ramp_flutter/send_crypto_payload.dart'; import 'configuration.dart'; -/// Wrapper class for Ramp Flutter widget +/// Wrapper class for Ramp Network Flutter widget class RampFlutter { final MethodChannel _channel = const MethodChannel('ramp_flutter'); diff --git a/pubspec.yaml b/pubspec.yaml index b2a9bb6..0edd136 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: ramp_flutter -description: Ramp for Flutter is a simple wrapper for native iOS and Android Ramp SDKs. Unified API lets you write code once and use on any of the platforms. Ramp Flutter SDK supports iOS and Android platforms. +description: Ramp Network for Flutter is a simple wrapper for native iOS and Android Ramp Network SDKs. Unified API lets you write code once and use on any of the platforms. Ramp Network Flutter SDK supports iOS and Android platforms. version: 4.0.0 homepage: https://ramp.network/