blakelee / CoinProfits

Keep track of your cryptocurrency with this portfolio manager. Made in native Android to offer you the best user experience.
MIT License
4 stars 1 forks source link

Not all coins #3

Closed AKprisonER closed 6 years ago

AKprisonER commented 6 years ago

only top 100 coins are downloaded.. Other coins are not displaying. I have some coins. That also not available

AKprisonER commented 6 years ago
@GET("ticker/")
    fun getCoins(
            @Query("limit") limit: Int? = null,
            @Query("convert") convert: String? = null
    ): Observable<JsonArray>

 @GET("ticker/{id}")
    fun getCoinById(
            @Path("id") id: String,
            @Query("convert") convert: String? = null
    ): Observable<JsonArray>
}

Needs to be reviewed

AKprisonER commented 6 years ago

Unorthodox fix is, by changing @GET("ticker/?limit=200") on line 15 ( CoinApi.kt ) Now Coin limit is 200. Increasing the coin count makes app data size bigger with frequent crash.

blakelee commented 6 years ago

Go to settings and click redownload all currencies. New currencies that are added have to be downloaded. Unless coinmarketcap changed their api, it should get the new ones.