-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c979c48
commit 4f93297
Showing
14 changed files
with
244 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
library/src/main/java/com/xsir/pgyerappupdate/library/cons/Constants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package com.xsir.pgyerappupdate.library.cons; | ||
|
||
/** | ||
* Created by x-sir on 2019/3/20 :) | ||
* Function:常量类 | ||
*/ | ||
public class Constants { | ||
|
||
/** | ||
* 蒲公英 apiKey | ||
*/ | ||
public static final String PGYER_API_KEY = "PGYER_API_KEY"; | ||
/** | ||
* 蒲公英 appKey | ||
*/ | ||
public static final String PGYER_APP_KEY = "PGYER_APP_KEY"; | ||
|
||
/** | ||
* 蒲公英更新接口(v2) | ||
*/ | ||
public static final String PGYER_APP_CHECK_URL = "https://www.pgyer.com/apiv2/app/check"; | ||
|
||
/** | ||
* FileProvider authority | ||
*/ | ||
public static final String AUTHORITY = "com.xsir.pgyerappupdate.library.FileProvider"; | ||
} |
17 changes: 17 additions & 0 deletions
17
library/src/main/java/com/xsir/pgyerappupdate/library/provider/CustomFileProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.xsir.pgyerappupdate.library.provider; | ||
|
||
import android.support.v4.content.FileProvider; | ||
|
||
/** | ||
* Created by x-sir on 2019/3/20 :) | ||
* Function:custom file provider. | ||
*/ | ||
public class CustomFileProvider extends FileProvider { | ||
|
||
/** | ||
* empty parameters constructor | ||
*/ | ||
public CustomFileProvider() { | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.