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

fetch when no active app state #20

Open
AzatFMS opened this issue Oct 3, 2017 · 0 comments
Open

fetch when no active app state #20

AzatFMS opened this issue Oct 3, 2017 · 0 comments

Comments

@AzatFMS
Copy link

AzatFMS commented Oct 3, 2017

fetch no working. When app in background, fetch work well. How can I send data to server when app no active?
`let approveButton = new NotificationActions.Action({
activationMode: 'background',
title: 'APPROVE',
identifier: 'APPROVE_ACTION'
}, (res, done) => {
fetch('https://test.ru/test');

    done(); //important!
});`
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant