Comments (1)
Okay so i resolved it.
Firstly add this permission to manifest:
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"/>
Oreo uses channels for its notifications so add a check like this:
int importance = NotificationManager.IMPORTANCE_HIGH;
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
NotificationChannel mChannel = nm.getNotificationChannel(id);
if (mChannel == null) {
mChannel = new NotificationChannel(id,description,importance);
mChannel.enableVibration(true);
mChannel.setVibrationPattern(new long[]{400, 300, 200, 400});
nm.createNotificationChannel(mChannel);
}
}
Lastly add the channel id to the builder :
NotificationCompat.Builder builder = new NotificationCompat.Builder(context,id);
from auto-update-apk-client.
Related Issues (20)
- Can not get auto-update to work HOT 4
- Update is downloaded but not installed
- Auto Update APK Doesn't work with Nougat HOT 2
- Traffic quota not refilled after payment with a new paypal account HOT 1
- No technical support since 1 month. IS THE SERVICE STILL MAINTAINED? HOT 3
- License HOT 2
- Installation fail HOT 1
- Current version broken HOT 2
- Permission error while using SilentAutoUpdate HOT 1
- I'm seeing wilcards instead of number of downloaded files. HOT 1
- unable to update paypal on apk site
- Run Issue HOT 1
- I'm continue seeing wildcards instead of number of downloads. HOT 2
- Error 404 in link with our apk HOT 5
- Error 404 and we have 5 GB avaiable in the account page HOT 7
- Change app owner HOT 7
- Payment Fail
- NetworkInfo Deprecated
- 5gb quota depleted with only 50% usage
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auto-update-apk-client.