瀏覽代碼

Merge pull request #2650 from nextcloud/explicitAllowGCM

Explicitly allow gcm on gplay
Andy Scherzinger 7 年之前
父節點
當前提交
8c5f564253
共有 1 個文件被更改,包括 11 次插入0 次删除
  1. 11 0
      src/gplay/AndroidManifest.xml

+ 11 - 0
src/gplay/AndroidManifest.xml

@@ -77,6 +77,17 @@
             </intent-filter>
         </service>
 
+        <service
+            android:name="com.evernote.android.job.gcm.PlatformGcmService"
+            android:enabled="true"
+            android:exported="true"
+            android:permission="com.google.android.gms.permission.BIND_NETWORK_TASK_SERVICE"
+            tools:replace="android:enabled">
+            <intent-filter>
+                <action android:name="com.google.android.gms.gcm.ACTION_TASK_READY"/>
+            </intent-filter>
+        </service>
+
     </application>
 
 </manifest>