Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
baby-monitoring-android-app
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
R24-145
baby-monitoring-android-app
Commits
1c4c583c
Commit
1c4c583c
authored
Oct 09, 2024
by
Chamod Ishankha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
security domain add
parent
6cd9fbc3
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
3 deletions
+4
-3
.idea/deploymentTargetDropDown.xml
.idea/deploymentTargetDropDown.xml
+1
-1
app/src/main/java/com/kaluwa/enterprises/babycare/activities/auth/RegisterActivity.java
...nterprises/babycare/activities/auth/RegisterActivity.java
+1
-1
app/src/main/java/com/kaluwa/enterprises/babycare/config/ApiConfig.java
...ava/com/kaluwa/enterprises/babycare/config/ApiConfig.java
+1
-1
app/src/main/res/xml/network_security_config.xml
app/src/main/res/xml/network_security_config.xml
+1
-0
No files found.
.idea/deploymentTargetDropDown.xml
View file @
1c4c583c
...
...
@@ -2,7 +2,7 @@
<project
version=
"4"
>
<component
name=
"deploymentTargetDropDown"
>
<value>
<entry
key=
"
app
"
>
<entry
key=
"
MainActivity
"
>
<State
/>
</entry>
</value>
...
...
app/src/main/java/com/kaluwa/enterprises/babycare/activities/auth/RegisterActivity.java
View file @
1c4c583c
...
...
@@ -106,7 +106,7 @@ public class RegisterActivity extends AppCompatActivity {
@Override
public
void
onFailure
(
Call
<
UserDto
>
call
,
Throwable
t
)
{
Toast
.
makeText
(
RegisterActivity
.
this
,
"Error
to Failure"
,
Toast
.
LENGTH_LONG
).
show
();
Toast
.
makeText
(
RegisterActivity
.
this
,
"Error
:"
+
t
.
getMessage
()
,
Toast
.
LENGTH_LONG
).
show
();
loader
(
overlay
,
progressBar
,
false
);
}
});
...
...
app/src/main/java/com/kaluwa/enterprises/babycare/config/ApiConfig.java
View file @
1c4c583c
...
...
@@ -16,7 +16,7 @@ import retrofit2.converter.gson.GsonConverterFactory;
import
retrofit2.converter.jackson.JacksonConverterFactory
;
public
class
ApiConfig
{
private
static
final
String
BASE_URL
=
"http://192.168.
1.2
:8080/api/v1/baby-care/"
;
private
static
final
String
BASE_URL
=
"http://192.168.
63.103
:8080/api/v1/baby-care/"
;
private
static
ApiConfig
instance
;
private
static
Retrofit
retrofitAuth
=
null
;
private
static
Retrofit
retrofitOther
=
null
;
...
...
app/src/main/res/xml/network_security_config.xml
View file @
1c4c583c
...
...
@@ -3,5 +3,6 @@
<domain-config
cleartextTrafficPermitted=
"true"
>
<domain
includeSubdomains=
"true"
>
192.168.1.2
</domain>
<domain
includeSubdomains=
"true"
>
192.168.1.6
</domain>
<domain
includeSubdomains=
"true"
>
192.168.63.103
</domain>
</domain-config>
</network-security-config>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment