Pgyer internal test distribution service is a leading mobile application internal test distribution platform in China, dedicated to providing easy-to-use App internal test distribution services for mobile developers and test users.
Pgyer Developer Service Platform is committed to providing excellent upstream and downstream services for developers, addressing the various needs of developers throughout the developer life cycle.
Scan QR code to follow
Pgyer WeChat Official Account
Get the latest news, official benefits, promotions and other information
Pgyer document center
使用 jar 包的集成方式,運行 App 后,SDK 的功能無法正常使用,可能的原因:
Manifest.xml 文件中未配置以下信息,導致蒲公英 SDK 未能正確的初始化:
<provider
android:name="com.pgyersdk.PgyerProvider"
android:authorities="${applicationId}.com.pgyer.provider"
android:exported="false"/>
自定義更新提示功能,直接復制 Demo 中的自定義方法,不出現 UI 界面,可能的原因:
更新提示自定方法,我們提供給開發者最大程度的自定義可能,在我們 Demo 中使用了最簡單的邏輯,并打印出來關鍵的數據,沒有 UI 的實現,具體的 UI 實現以及邏輯是需要開發者自己去調整實現的;
更新提示功能在下載完成 apk 后,沒有自動彈出安裝提示頁面,可能的原因:
允許未知來源安裝包安裝
狀態為關;<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
蒲公英 SDK 3.0.1以上,aar 集成方式,包含了以上的權限,不需要重復添加。
自動更新提示彈出以后又馬上消失,可能的原因:
可能由于 3.0.0版本 SDK 會自動解綁更新提示,當一些開發者在使用延遲關閉上個頁面或者使用其他框架會造成上述的原因,升級為最新版本的 SDK,可以解決以上問題。
在集成 SDK 以后提示合并 Manifest.xml 文件失敗,可能的原因:
3.0.0版本提示 InterruptException,可能的原因:
這是由于防止用戶同一時間段多次請求,造成流量浪費,SDK 會在同一時間段內阻止上次請求的發起,會打印這個錯誤,不會實際對使用 SDK 的 App 造成任何的影響;
在3.0.1版本以上修復,不再打印這個錯誤。
3.0.0以前的版本打印 Api.class 文件中出現 NullException,可能的原因:
這個問題不會對使用 App 造成任何的影響,在3.0.1版本對此作了的修復,將不再打印此問題。
在運行 App 后,檢查 SDK 功能是否正常運行,可以通過查看 Android Studio Logcat 的信息,搜索關鍵字 PgyerSDK
過濾,會得到類似以下結果:
D/PgyerSDK: PgyerProvider onCreate // SDK 初始化
D/PgyerSDK: create Crash File path:...6.stacktrace // 生成 Crash 信息文件
D/PgyerSDK: Transmission succeeded // Crash 成功上報蒲公英后臺
D/PgyerSDK: There is a new version // 有新版本更新
如果配置信息不正確,會得到以下類似信息:
E/PgyerSDK: App ID is not correct // APP ID 配置不正確
W/PgyerSDK: There is no android.permission.WRITE_EXTERNAL_STORAGE // App 沒有存儲權限
W/PgyerSDK: Please grant permission if you use Pgyer SDK feature.//不能正常使用 SDK 功能
About Us
Product Services
Help
Your account information is under review and can not be used temporarily; you can:
Check out the help documentation for common ways to work on the Pgyer's platform;
Check Pgyer's App Auditing , which must be viewed before uploading.
Currently, the real-name authentication has not been completed, and the number of downloads for each version is limited to 5 times/day, After real-name authentication, it can be extended to 500 times/day
TestFlight is only available to Professional users.(Click understand pgyer's price plan)
支付成功
Pgyer VIP User Group
(Please open WeChat - Sweep and join the group chat)