Background fetch not working on physical device
up vote
0
down vote
favorite
I have following problem:
I made a chat app which is using background fetch to update the data and receive notifications. Everything is working fine if I´m simulating the background fetch via Xcode, but if i want to use the app without Xcode (in the simulator or on a real physical device) it won´t execute the background fetch. I set the Minimum background fetch time to UIApplication.backgroundFetchIntervalMinimum
and tried to enable "launch due to a background fetch event", and archive the app and install it manually (background fetch with Run/Archive not working).
Anybody have an idea?
Thanks for help!
ios swift xcode background fetch
add a comment |
up vote
0
down vote
favorite
I have following problem:
I made a chat app which is using background fetch to update the data and receive notifications. Everything is working fine if I´m simulating the background fetch via Xcode, but if i want to use the app without Xcode (in the simulator or on a real physical device) it won´t execute the background fetch. I set the Minimum background fetch time to UIApplication.backgroundFetchIntervalMinimum
and tried to enable "launch due to a background fetch event", and archive the app and install it manually (background fetch with Run/Archive not working).
Anybody have an idea?
Thanks for help!
ios swift xcode background fetch
1
Background fetch probably isn't a good solution for a chat app. It can take several days before background fetch starts working for a new app, and even then it is only invoked every hour or two. You should probably be using remote notifications from your server.
– Paulw11
Nov 19 at 18:46
@Paulw11 Thanks! I'll use remote notifications.
– AdriBoy21
Nov 19 at 18:47
You need VOIP notifications for chat app
– canister_exister
Nov 19 at 22:53
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have following problem:
I made a chat app which is using background fetch to update the data and receive notifications. Everything is working fine if I´m simulating the background fetch via Xcode, but if i want to use the app without Xcode (in the simulator or on a real physical device) it won´t execute the background fetch. I set the Minimum background fetch time to UIApplication.backgroundFetchIntervalMinimum
and tried to enable "launch due to a background fetch event", and archive the app and install it manually (background fetch with Run/Archive not working).
Anybody have an idea?
Thanks for help!
ios swift xcode background fetch
I have following problem:
I made a chat app which is using background fetch to update the data and receive notifications. Everything is working fine if I´m simulating the background fetch via Xcode, but if i want to use the app without Xcode (in the simulator or on a real physical device) it won´t execute the background fetch. I set the Minimum background fetch time to UIApplication.backgroundFetchIntervalMinimum
and tried to enable "launch due to a background fetch event", and archive the app and install it manually (background fetch with Run/Archive not working).
Anybody have an idea?
Thanks for help!
ios swift xcode background fetch
ios swift xcode background fetch
asked Nov 19 at 18:14
AdriBoy21
63
63
1
Background fetch probably isn't a good solution for a chat app. It can take several days before background fetch starts working for a new app, and even then it is only invoked every hour or two. You should probably be using remote notifications from your server.
– Paulw11
Nov 19 at 18:46
@Paulw11 Thanks! I'll use remote notifications.
– AdriBoy21
Nov 19 at 18:47
You need VOIP notifications for chat app
– canister_exister
Nov 19 at 22:53
add a comment |
1
Background fetch probably isn't a good solution for a chat app. It can take several days before background fetch starts working for a new app, and even then it is only invoked every hour or two. You should probably be using remote notifications from your server.
– Paulw11
Nov 19 at 18:46
@Paulw11 Thanks! I'll use remote notifications.
– AdriBoy21
Nov 19 at 18:47
You need VOIP notifications for chat app
– canister_exister
Nov 19 at 22:53
1
1
Background fetch probably isn't a good solution for a chat app. It can take several days before background fetch starts working for a new app, and even then it is only invoked every hour or two. You should probably be using remote notifications from your server.
– Paulw11
Nov 19 at 18:46
Background fetch probably isn't a good solution for a chat app. It can take several days before background fetch starts working for a new app, and even then it is only invoked every hour or two. You should probably be using remote notifications from your server.
– Paulw11
Nov 19 at 18:46
@Paulw11 Thanks! I'll use remote notifications.
– AdriBoy21
Nov 19 at 18:47
@Paulw11 Thanks! I'll use remote notifications.
– AdriBoy21
Nov 19 at 18:47
You need VOIP notifications for chat app
– canister_exister
Nov 19 at 22:53
You need VOIP notifications for chat app
– canister_exister
Nov 19 at 22:53
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53380449%2fbackground-fetch-not-working-on-physical-device%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Background fetch probably isn't a good solution for a chat app. It can take several days before background fetch starts working for a new app, and even then it is only invoked every hour or two. You should probably be using remote notifications from your server.
– Paulw11
Nov 19 at 18:46
@Paulw11 Thanks! I'll use remote notifications.
– AdriBoy21
Nov 19 at 18:47
You need VOIP notifications for chat app
– canister_exister
Nov 19 at 22:53