Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

Fix: Change base URL to the new FineractCN demo instance and fix all the related bugs #107

Open
wants to merge 3 commits into
base: development
Choose a base branch
from
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
*/
public class BaseUrl {

public static final String PROTOCOL_HTTPS = "https://";
public static final String API_ENDPOINT = "pilot.kuelap.io";
public static final String PROTOCOL_HTTPS = "http://";
public static final String API_ENDPOINT = "buffalo.mifos.io:4200";
public static final String PORT = "80";
// "/" in the last of the base url always
public static final String LOCALHOST_URL = "ws://10.0.2.2:4984/fineract-cn/";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

import android.content.Intent;
import android.os.Bundle;

import androidx.annotation.Nullable;

import com.google.android.material.appbar.AppBarLayout;
import com.google.android.material.appbar.CollapsingToolbarLayout;

import androidx.coordinatorlayout.widget.CoordinatorLayout;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
Expand Down
8 changes: 3 additions & 5 deletions app/src/main/res/xml/network_security_config.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<base-config cleartextTrafficPermitted="true">
<trust-anchors>
<certificates src="system" />
</trust-anchors>
</base-config>
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="true">buffalo.mifos.io</domain>
</domain-config>
</network-security-config>