{"action":"closed","issue":{"url":"https://api.github.com/repos/myflashlab/inAppPayments-ANE/issues/83","repository_url":"https://api.github.com/repos/myflashlab/inAppPayments-ANE","labels_url":"https://api.github.com/repos/myflashlab/inAppPayments-ANE/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/myflashlab/inAppPayments-ANE/issues/83/comments","events_url":"https://api.github.com/repos/myflashlab/inAppPayments-ANE/issues/83/events","html_url":"https://github.com/myflashlab/inAppPayments-ANE/issues/83","id":376142548,"node_id":"MDU6SXNzdWUzNzYxNDI1NDg=","number":83,"title":"BILLING permissions not staying on manifest when publishing APK","user":{"login":"zillywininc","id":44507705,"node_id":"MDQ6VXNlcjQ0NTA3NzA1","avatar_url":"https://avatars2.githubusercontent.com/u/44507705?v=4","gravatar_id":"","url":"https://api.github.com/users/zillywininc","html_url":"https://github.com/zillywininc","followers_url":"https://api.github.com/users/zillywininc/followers","following_url":"https://api.github.com/users/zillywininc/following{/other_user}","gists_url":"https://api.github.com/users/zillywininc/gists{/gist_id}","starred_url":"https://api.github.com/users/zillywininc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zillywininc/subscriptions","organizations_url":"https://api.github.com/users/zillywininc/orgs","repos_url":"https://api.github.com/users/zillywininc/repos","events_url":"https://api.github.com/users/zillywininc/events{/privacy}","received_events_url":"https://api.github.com/users/zillywininc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-31T20:15:50Z","updated_at":"2018-11-02T13:43:00Z","closed_at":"2018-11-02T13:43:00Z","author_association":"NONE","body":"## Environment ##\r\n* Android Version:\r\n* iOS Version:\r\n* AIR Version: 30\r\n\r\n## Problem Description ##\r\n\r\nI'm using ANELAB to export the correct Manifest file, which contains the following permissions:\r\n```\r\n  <uses-permission android:name=\"com.android.vending.BILLING\"/>\r\n  <uses-permission android:name=\"android.permission.INTERNET\"/>\r\n  <uses-permission android:name=\"android.permission.BILLING\"/>\r\n  <uses-permission android:name=\"android.permission..BILLING\"/>\r\n  <application>\r\n```\r\n\r\nI'm not sure why there's a ..BILLING as well, but I don't think it will cause problems. The line:\r\n`  <uses-permission android:name=\"com.android.vending.BILLING\"/>`\r\nIs certainly required by Google to make in-app products in the Developer's console. When I publish the APK on Animate CC to upload to the Developer's console it rewrites the manifest and removes this line and then it looks like this:\r\n\r\n```\r\n<uses-permission android:name=\"android.permission.INTERNET\"/>\r\n<uses-permission android:name=\"android.permission.BILLING\"/>\r\n<uses-permission android:name=\"android.permission..BILLING\"/>\r\n```\r\n\r\nThen when I go to the console and upload the APK in the \"in-app products\" section I get the following message:\r\n\r\nYour app doesn't have any in-app products yet. \r\nTo add in-app products, you need to add the BILLING permission to your APK.\r\nUpload a new APK\r\n\r\nHow can I include this line in my manifest without Adobe Animate removing it during the publishing process?\r\n`  <uses-permission android:name=\"com.android.vending.BILLING\"/>`\r\n\r\nAny help would be greatly appreciated. Thanks\r\n\r\n```xml\r\n<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"no\" ?>\r\n<application xmlns=\"http://ns.adobe.com/air/application/30.0\">\r\n  <id>com.ZillyWin</id>\r\n  <versionNumber>1.0.09</versionNumber>\r\n  <versionLabel></versionLabel>\r\n  <filename>inapp-test</filename>\r\n  <description/>\r\n  <name>inapp-test</name>\r\n  <copyright/>\r\n  <initialWindow>\r\n    <content>inapp-test.swf</content>\r\n    <systemChrome>standard</systemChrome>\r\n    <transparent>false</transparent>\r\n    <visible>true</visible>\r\n    <fullScreen>false</fullScreen>\r\n    <aspectRatio>portrait</aspectRatio>\r\n    <renderMode>cpu</renderMode>\r\n    <autoOrients>false</autoOrients>\r\n  </initialWindow>\r\n  <icon/>\r\n  <customUpdateUI>false</customUpdateUI>\r\n  <allowBrowserInvocation>false</allowBrowserInvocation>\r\n  <android>\r\n    <manifestAdditions><![CDATA[<manifest>\r\n<uses-permission android:name=\"android.permission.INTERNET\"/>\r\n<uses-permission android:name=\"android.permission.BILLING\"/>\r\n<uses-permission android:name=\"android.permission..BILLING\"/>\r\n</manifest>]]></manifestAdditions>\r\n  </android>\r\n  \r\n  \r\n  \r\n  \r\n  \r\n  \r\n  \r\n  \r\n  \r\n  \r\n  \r\n  \r\n  <extensions>\r\n    <extensionID>com.myflashlab.air.extensions.billing</extensionID>\r\n    <extensionID>com.myflashlab.air.extensions.dependency.overrideAir</extensionID>\r\n  </extensions>\r\n</application>\r\n\r\n```\r\n```actionscript\r\nExample code from the project GitHub\r\n```\r\n\r\n## Steps to Reproduce ##\r\nPublish the file as an APK via Animate and upload to the in-app purchases section of the Google Console\r\n\r\n## Known Workarounds ##"}}
{"actor":{"display_login":"zillywininc"}}