Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @RampNetwork/team-rocket-eng @quezak
* @RampNetwork/team-brocket-eng @quezak
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Ramp Network Android SDK is a library that allows you to easily integrate the Ra

## Documentation

Docs for the SDK package can be found here - [https://docs.ramp.network/](https://docs.ramp.network/).
Docs for the SDK package can be found here - [https://docs.rampnetwork.com/](https://docs.rampnetwork.com/).

## Contact us

Expand Down
4 changes: 2 additions & 2 deletions demo/src/main/java/ramp/network/demo/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ class MainActivity : AppCompatActivity() {
binding.button.setOnClickListener {
// 3. Fill configuration object with your data
val config = Config(
hostLogoUrl = "https://ramp.network/assets/images/Logo.svg",
hostLogoUrl = "https://assets.rampnetwork.com/misc/ramp-network-logo.svg",
hostAppName = "My App",
url = "https://app.demo.ramp.network",
url = "https://app.demo.rampnetwork.com",
hostApiKey = "your host api key",
enabledFlows = setOf(Flow.OFFRAMP, Flow.ONRAMP)
)
Expand Down
6 changes: 3 additions & 3 deletions rampsdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ android {
defaultConfig {
minSdkVersion 21
targetSdkVersion 32
versionCode 20
versionName "4.0.1"
versionCode 21
versionName "4.0.2"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles 'consumer-rules.pro'
buildConfigField 'String', 'VERSION', "\"${defaultConfig.versionName}\""
Expand Down Expand Up @@ -84,7 +84,7 @@ afterEvaluate {
from components.release
groupId = 'com.github.RampNetwork'
artifactId = 'ramp-sdk-android'
version = '4.0.1'
version = '4.0.2'
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions rampsdk/src/main/java/network/ramp/sdk/facade/Config.kt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ data class Config(

/**
* An optional string parameter that allows you to use a non-production version of our widget.
* Example: "https://app.demo.ramp.network"
* Example: "https://app.demo.rampnetwork.com"
*/
var url: String = DEFAULT_URL,

Expand All @@ -31,7 +31,7 @@ data class Config(
* If passed with a single asset, this parameter pre-sets the given asset for the user as the only option.
* If passed as a list (for example, swapAsset="DAI,ETH,USDC"), it sets the available assets to the user with the first asset as the default selection.
* If left blank, the user will choose an asset on their own from all available assets.
* The list of all available assets can be accessed with GET /host-api/assets endpoint. [https://docs.ramp.network/rest-api-reference/#available-assets-and-prices]
* The list of all available assets can be accessed with GET /host-api/assets endpoint. [https://docs.rampnetwork.com/rest-api-reference/#available-assets-and-prices]
* Example: "ETH"
*/
var swapAsset: String = "",
Expand Down Expand Up @@ -90,7 +90,7 @@ data class Config(


/**
* An optional string parameter that allows you to subscribe to events via webhooks [https://docs.ramp.network/webhooks].
* An optional string parameter that allows you to subscribe to events via webhooks [https://docs.rampnetwork.com/webhooks].
* Example: "https://example.com/webhook/"
*/
var webhookStatusUrl: String = "",
Expand Down Expand Up @@ -119,6 +119,6 @@ data class Config(

companion object {
const val SEND_CRYPTO_CALLBACK_VERSION = 1
const val DEFAULT_URL = "https://app.ramp.network"
const val DEFAULT_URL = "https://app.rampnetwork.com"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ object UrlSafeChecker {
"https://ri-widget-dev2.firebaseapp.com",
"https://ri-widget-staging.firebaseapp.com",
"https://app.ramp.network",
"https://app.rampnetwork.com",
"https://app.dev.ramp-network.org",
"https://app.demo.ramp.network",
"https://app.ramp.network",
"https://app.demo.rampnetwork.com",
"https://app.pepe.ramp-network.org"
)
private val listOfSafeRegex = listOf("^https://ri-widget-dev-(\\d+)\\.firebaseapp\\.com$", "^https://app.(\\d+)\\.dev\\.ramp-network\\.org")
Expand Down
Loading