File tree Expand file tree Collapse file tree 6 files changed +12
-7
lines changed
nocodes/src/main/java/io/qonversion/nocodes
main/java/com/qonversion/android/sdk/internal
test/java/com/qonversion/android/sdk/internal/api Expand file tree Collapse file tree 6 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ buildscript {
1010 versionCode : 1
1111 ]
1212 nocodes = [
13- versionName : " 0.1.0 " ,
13+ versionName : " 0.1.1 " ,
1414 versionCode : 1
1515 ]
1616 }
Original file line number Diff line number Diff line change 55
66
77
8- <testcase classname =" fastlane.lanes" name =" 0: default_platform" time =" 0.000871 " >
8+ <testcase classname =" fastlane.lanes" name =" 0: default_platform" time =" 0.000277 " >
99
1010 </testcase >
1111
Original file line number Diff line number Diff line change @@ -15,15 +15,20 @@ data class QAction(
1515 Url (" url" ),
1616 DeepLink (" deeplink" ),
1717 Navigation (" navigation" ),
18- Purchase (" makePurchase " ),
18+ Purchase (" purchase " ),
1919 Restore (" restore" ),
2020 Close (" close" ),
2121 CloseAll (" closeAll" ),
2222 LoadProducts (" getProducts" ),
2323 ShowScreen (" showScreen" );
2424
2525 companion object {
26- fun from (type : String? ) = entries.find { it.type == type } ? : Unknown
26+ fun from (type : String? ): Type {
27+ if (type == " makePurchase" ) {
28+ return Purchase
29+ }
30+ return entries.find { it.type == type } ? : Unknown
31+ }
2732 }
2833 }
2934
Original file line number Diff line number Diff line change 11package io.qonversion.nocodes.internal.common
22
3- internal const val API_URL = " https://api .qonversion.io/"
3+ internal const val API_URL = " https://api2 .qonversion.io/"
44
55internal const val PLATFORM = " android"
Original file line number Diff line number Diff line change @@ -50,6 +50,6 @@ internal class InternalConfig(
5050 val isAnalyticsMode get() = primaryConfig.launchMode == QLaunchMode .Analytics
5151
5252 companion object {
53- private const val BASE_URL = " https://api .qonversion.io/"
53+ private const val BASE_URL = " https://api2 .qonversion.io/"
5454 }
5555}
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import org.junit.jupiter.api.Test
1111
1212internal class ApiHelperTest {
1313
14- private val apiUrl = " https://api .qonversion.io/"
14+ private val apiUrl = " https://api2 .qonversion.io/"
1515 private lateinit var apiHelper: ApiHelper
1616
1717 @BeforeEach
You can’t perform that action at this time.
0 commit comments