# BITRISE PUBLIC INSTALL PAGE URL showing only unsigned apk

**URL:** <https://discuss.bitrise.io/t/bitrise-public-install-page-url-showing-only-unsigned-apk/2126>\
**Category:** Tooling Issues\
**Tags:** deploy, android\
**Created:** [June 29, 2017, 9:02am UTC](https://discuss.bitrise.io/t/bitrise-public-install-page-url-showing-only-unsigned-apk/2126 "2017-06-29T09:02:20Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ramki1979](https://avatars.discourse-cdn.com/v4/letter/r/a87d85/32.png) [@ramki1979](https://discuss.bitrise.io/u/ramki1979)\
**Post date:** [June 29, 2017, 9:02am UTC](https://discuss.bitrise.io/t/bitrise-public-install-page-url-showing-only-unsigned-apk/2126/1 "2017-06-29T09:02:20Z")

</div>

My android workflow generated Signed and unSigned apk files.  
After successful workflow I am sending the BITRISE\_PUBLIC\_INSTALL\_PAGE\_URL to Slack.

When I selected the BITRISE\_PUBLIC\_INSTALL\_PAGE\_URL on Slack I am only getting unsigned apk file.

I need signed apk file.

Is there any variable that I can use to send only the Signed.apk file URL to slack.

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [June 30, 2017, 7:33pm UTC](https://discuss.bitrise.io/t/bitrise-public-install-page-url-showing-only-unsigned-apk/2126/2 "2017-06-30T19:33:19Z")

</div>

Hi @ramki1979,

If you don’t need the unsigned APK at all, then you can simply change the APK filter of the **Gradle Runner** step to not to include (exclude filters input) the unsigned APK - see: [File already exists error](http://discuss.bitrise.io/t/file-already-exists-error/344/2)

If you do need both to be attached to the build / deployed, but you only want a public install page for the signed on: please use two separate **Deploy to [Bitrise.io](http://Bitrise.io)** steps, one for the unsigned APK and one for the signed one. Related #how-to : [How to deploy only a specific Android APK?](http://discuss.bitrise.io/t/how-to-deploy-only-a-specific-android-apk/1125) (_Use multiple deploy steps and set specific path(s)_ section). This discussion might also help, in case you’d need the public install page of both: [Public install page URLs for multiple apps](http://discuss.bitrise.io/t/public-install-page-urls-for-multiple-apps/1527/2?u=viktorbenei)

If you have any questions just let us know! 😉

---

<div class="post-metadata">

**Author:** ![ramki1979](https://avatars.discourse-cdn.com/v4/letter/r/a87d85/32.png) [@ramki1979](https://discuss.bitrise.io/u/ramki1979)\
**Post date:** [July 1, 2017, 5:55am UTC](https://discuss.bitrise.io/t/bitrise-public-install-page-url-showing-only-unsigned-apk/2126/3 "2017-07-01T05:55:32Z")

</div>

In my workflow Gradle only generated Released unsigned APK. After that I have a Bitrise Sign APK Step that generates the Signed APK. I think applying a filter wouldn’t help me.

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [July 1, 2017, 8:44am UTC](https://discuss.bitrise.io/t/bitrise-public-install-page-url-showing-only-unsigned-apk/2126/4 "2017-07-01T08:44:10Z")

</div>

Yes, that won’t, but the other solution, to specify the path in the **Deploy to [Bitrise.io](http://Bitrise.io)** step (instead of just a directory) certainly does 😉

The **Sign APK** step exports the signed APK’s path in both `BITRISE_SIGNED_APK_PATH` and `BITRISE_APK_PATH` env vars:

> <https://github.com/bitrise-steplib/steps-sign-apk/blob/master/step.yml#L74>

So setting the **Deploy directory or file path** (`deploy_path`) option of the **Deploy to [Bitrise.io](http://Bitrise.io)** step to e.g. `$BITRISE_SIGNED_APK_PATH` should deploy only the signed APK and expose its public install page (similar to what’s described here [Public install page URLs for multiple apps](http://discuss.bitrise.io/t/public-install-page-urls-for-multiple-apps/1527/2?u=viktorbenei)).

---

<div class="post-metadata">

**Author:** ![ramki1979](https://avatars.discourse-cdn.com/v4/letter/r/a87d85/32.png) [@ramki1979](https://discuss.bitrise.io/u/ramki1979)\
**Post date:** [July 3, 2017, 10:36am UTC](https://discuss.bitrise.io/t/bitrise-public-install-page-url-showing-only-unsigned-apk/2126/5 "2017-07-03T10:36:24Z")

</div>

Made the changes. Need to verify during the next build.

Thanks @viktorbenei for helping on this one.

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [July 3, 2017, 12:44pm UTC](https://discuss.bitrise.io/t/bitrise-public-install-page-url-showing-only-unsigned-apk/2126/6 "2017-07-03T12:44:32Z")

</div>

Let us know how it goes @ramki1979! 😉

---

<div class="post-metadata">

**Author:** ![ramki1979](https://avatars.discourse-cdn.com/v4/letter/r/a87d85/32.png) [@ramki1979](https://discuss.bitrise.io/u/ramki1979)\
**Post date:** [July 12, 2017, 1:47am UTC](https://discuss.bitrise.io/t/bitrise-public-install-page-url-showing-only-unsigned-apk/2126/7 "2017-07-12T01:47:45Z")

</div>

It was working.
