Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
banditAmit committed Oct 4, 2023
1 parent 6a7d0f5 commit 069e5d5
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
2 changes: 2 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ android {
dependencies {
implementation 'com.google.firebase:firebase-storage-ktx:20.2.1'
implementation 'com.google.firebase:firebase-common:20.3.3'
implementation 'com.google.firebase:firebase-inappmessaging-display:20.2.0'
implementation 'com.google.firebase:firebase-messaging:23.1.0'
releaseImplementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.9.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
Expand Down
10 changes: 9 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
tools:ignore="ScopedStorage" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_CONTACTS"></uses-permission>
<uses-permission android:name="android.permission.READ_CONTACTS"> </uses-permission>

<queries>
<intent>
Expand Down Expand Up @@ -103,6 +103,14 @@
<meta-data
android:name="preloaded_fonts"
android:resource="@array/preloaded_fonts" />
<service
android:name=".MyFirebaseInstanceIDService"
android:exported="true">
<intent-filter>
<action android:name="com.google.firebase.INSTANCE_ID_EVENT"/>
</intent-filter>
</service>

</application>

</manifest>
15 changes: 15 additions & 0 deletions app/src/main/java/com/BugBazaar/MyFirebaseInstanceIDService.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package com.BugBazaar;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;

import androidx.annotation.Nullable;

public class MyFirebaseInstanceIDService extends Service {
@Nullable
@Override
public IBinder onBind(Intent intent) {
return null;
}
}

0 comments on commit 069e5d5

Please sign in to comment.