diff --git a/README.md b/README.md index 50e5e59..ed51408 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ repositories { } dependencies { - implementation("com.formbricks:android:1.0.0") // replace with latest version + implementation("com.formbricks:android:2.0.0") // replace with latest version } ``` @@ -33,12 +33,22 @@ android { // 1. Initialize the SDK val config = FormbricksConfig.Builder( "https://your-formbricks-server.com", - "YOUR_ENVIRONMENT_ID" + "YOUR_WORKSPACE_ID" ) .setLoggingEnabled(true) .setFragmentManager(supportFragmentManager) .build() +// Note: `environmentId` is deprecated and will be removed in a future version. +// Existing integrations using the legacy entry point still work: +// +// FormbricksConfig.Builder.withEnvironmentId( +// "https://your-formbricks-server.com", +// "YOUR_ENVIRONMENT_ID" +// ) +// +// Migrate to `workspaceId` as soon as possible. + // 2. Setup Formbricks Formbricks.setup(this, config) diff --git a/android/build.gradle.kts b/android/build.gradle.kts index 501b20c..ba3bf55 100644 --- a/android/build.gradle.kts +++ b/android/build.gradle.kts @@ -11,7 +11,7 @@ plugins { id("org.sonarqube") version "4.4.1.3373" } -version = "1.2.0" +version = "2.0.0" val groupId = "com.formbricks" val artifactId = "android"