{"action":"created","issue":{"url":"https://api.github.com/repos/transistorsoft/react-native-background-fetch/issues/89","repository_url":"https://api.github.com/repos/transistorsoft/react-native-background-fetch","labels_url":"https://api.github.com/repos/transistorsoft/react-native-background-fetch/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/transistorsoft/react-native-background-fetch/issues/89/comments","events_url":"https://api.github.com/repos/transistorsoft/react-native-background-fetch/issues/89/events","html_url":"https://github.com/transistorsoft/react-native-background-fetch/issues/89","id":328738117,"node_id":"MDU6SXNzdWUzMjg3MzgxMTc=","number":89,"title":"stopOnTerminate, startOnBoot not working .","user":{"login":"ybaidiuk","id":11969255,"node_id":"MDQ6VXNlcjExOTY5MjU1","avatar_url":"https://avatars2.githubusercontent.com/u/11969255?v=4","gravatar_id":"","url":"https://api.github.com/users/ybaidiuk","html_url":"https://github.com/ybaidiuk","followers_url":"https://api.github.com/users/ybaidiuk/followers","following_url":"https://api.github.com/users/ybaidiuk/following{/other_user}","gists_url":"https://api.github.com/users/ybaidiuk/gists{/gist_id}","starred_url":"https://api.github.com/users/ybaidiuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ybaidiuk/subscriptions","organizations_url":"https://api.github.com/users/ybaidiuk/orgs","repos_url":"https://api.github.com/users/ybaidiuk/repos","events_url":"https://api.github.com/users/ybaidiuk/events{/privacy}","received_events_url":"https://api.github.com/users/ybaidiuk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-02T11:54:18Z","updated_at":"2018-06-03T23:58:28Z","closed_at":null,"author_association":"NONE","body":"`\r\n static async init() {\r\n    BackgroundFetch.configure({\r\n        minimumFetchInterval: 15,  // <-- minutes (15 is minimum allowed)\r\n        stopOnTerminate: false,    // <-- Android-only,\r\n        startOnBoot: true,         // <-- Android-only\r\n        enableHeadless: true       // use for background job react native (Headless) functionality (android)\r\n      },\r\n      async () => {\r\n        await this.service();\r\n        BackgroundFetch.finish(BackgroundFetch.FETCH_RESULT_NEW_DATA);\r\n      },\r\n      this.error\r\n    );\r\n  }\r\n\r\n  static async service() {\r\n    await LogsUtils.add(LOG_TYPE.INFO, ' backgroundJob call');\r\n  }\r\n`\r\n\r\n<!-- Provide a general summary of the issue in the Title above -->\r\n\r\n## Your Environment\r\n* Plugin version: 2.0.4\r\n* Platform:  Android\r\n* OS version: Oreo \r\n* Device manufacturer / model: Pixel 2xl\r\n* React Native version (0.55.4):\r\n* Plugin config\r\n\r\n## Expected Behavior\r\nservice() should trieger every 15 min . \r\n## Actual Behavior\r\nworning : Unable to symbolicate stack trace network request failed;\r\nstopOnTerminate, startOnBoot not working \r\n\r\n## Steps to Reproduce\r\n1. in ComponentDidMount call init();\r\n\r\n## Context\r\nreal device\r\n"},"comment":{"url":"https://api.github.com/repos/transistorsoft/react-native-background-fetch/issues/comments/394202420","html_url":"https://github.com/transistorsoft/react-native-background-fetch/issues/89#issuecomment-394202420","issue_url":"https://api.github.com/repos/transistorsoft/react-native-background-fetch/issues/89","id":394202420,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDIwMjQyMA==","user":{"login":"ybaidiuk","id":11969255,"node_id":"MDQ6VXNlcjExOTY5MjU1","avatar_url":"https://avatars2.githubusercontent.com/u/11969255?v=4","gravatar_id":"","url":"https://api.github.com/users/ybaidiuk","html_url":"https://github.com/ybaidiuk","followers_url":"https://api.github.com/users/ybaidiuk/followers","following_url":"https://api.github.com/users/ybaidiuk/following{/other_user}","gists_url":"https://api.github.com/users/ybaidiuk/gists{/gist_id}","starred_url":"https://api.github.com/users/ybaidiuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ybaidiuk/subscriptions","organizations_url":"https://api.github.com/users/ybaidiuk/orgs","repos_url":"https://api.github.com/users/ybaidiuk/repos","events_url":"https://api.github.com/users/ybaidiuk/events{/privacy}","received_events_url":"https://api.github.com/users/ybaidiuk/received_events","type":"User","site_admin":false},"created_at":"2018-06-03T23:58:28Z","updated_at":"2018-06-03T23:58:28Z","author_association":"NONE","body":"so note about warning :\"warning : Unable to symbolicate stack trace network request failed;\"\r\nIt is  because  Hot reloading was enabled. but service still not work after terminating or device reloading ."}}
{"actor":{"display_login":"ybaidiuk"}}