Skip to content

Commit

Permalink
Set daraja env in desktop sample
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorKabata committed Jun 14, 2024
1 parent b8bd13a commit 826e739
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp
import com.vickbt.darajakmp.Daraja
import com.vickbt.darajakmp.utils.DarajaEnvironment
import com.vickbt.darajakmp.utils.onFailure
import com.vickbt.darajakmp.utils.onSuccess
import com.vickikbt.app_android.ui.theme.DarajaKmpTheme
Expand All @@ -59,7 +60,7 @@ fun HomeScreen() {
.setConsumerKey("zg1m1CbMGx8E2BqVThHIJHFMWSnVJ4XA")
.setConsumerSecret("z4CAY2TUw6rprEvy")
.setPassKey("bfb279f9aa9bdbcf158e97dd71a467cd2e0c893059b10f78e6b72ada1ed2c919")
.isSandbox()
.setEnvironment(environment = DarajaEnvironment.SANDBOX_ENVIRONMENT)
.build()
)
}
Expand Down

0 comments on commit 826e739

Please sign in to comment.