qiscus / qiscus-sdk-android

Qiscus provide everything you need to power up your app with chats. And it's now made simple.
https://www.qiscus.com
Apache License 2.0
201 stars 84 forks source link

adding permission function #24

Closed adicatur closed 7 years ago

adicatur commented 7 years ago

giving function for permission, hence user can use it without create …from scratch

  1. User should set false for configuration permission e.g Qiscus.getChatConfig() .setEnableRequestPermission(false)
  2. User call one of permission function e.g btnAddFile.setOnClickListener(v -> { requestAddFilePermission(); });
codecov[bot] commented 7 years ago

Codecov Report

Merging #24 into develop will not change coverage. The diff coverage is 0%.

Impacted file tree graph

@@          Coverage Diff           @@
##           develop    #24   +/-   ##
======================================
  Coverage        0%     0%           
======================================
  Files          119    119           
  Lines         9454   9467   +13     
  Branches       978    978           
======================================
- Misses        9454   9467   +13
Impacted Files Coverage Δ
...qiscus/sdk/ui/fragment/QiscusBaseChatFragment.java 0% <0%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f4d1194...88dd244. Read the comment docs.