Leg 5: Launch App to the Google Play Store

November 14, 2017


We've Launched Our App!

Link: https://play.google.com/store/apps/details?id=edu.tufts.cs.tripsharing&hl=en

Challenges

  1. When I tried to upload our apk package, I got:
    "Error from apksigner: ERROR: JAR_SIG_NO_SIGNATURES: No JAR signatures".
    Then I created a new signature which selected both V1 and V2 instead of just selecting V2.

  2. I got another error message when I tried to upload apk again:
    "You need to use a different package name because "com.example" is restricted."
    Then I followed the steps stated in the link below to changed the package name:
    https://stackoverflow.com/questions/16804093/android-studio-rename-package But I still got:
    "Error:Execution failed for task ':app:processDebugGoogleServices'.
    > No matching client found for package name 'edu.tufts.cs.tripsharing'"
    I found out it was because we used firebase which resulted in that if I want to change the name of the package, I need to add a new client in firebase and get a new google-services.json to replace the old one in the app level。

  3. When I reviewed my production release, it said:
    "Your app has an apk with version code 1 that requests the following permission(s): android.permission.GET_ACCOUNTS,android.permission.READ_CONTACTS. Apps using these permissions in an APK are required to have a privacy policy set."
    Since we don't need to get accounts or read contacts in our app, I deleted the following codes in the ActivityManifest.xml:

 <uses-permission android:name="android.permission.GET_ACCOUNTS" />
 <uses-permission android:name="android.permission.READ_CONTACTS" />

Improved

1.Fixed the bug in login activity.

The app will stop and exit when the login button is clicked without filling all editText fields filled. So I updated the onClick() method with following code.

if((!txtEmailLogin.getText().toString().equals(""))&&(!txtPwd.getText().toString().equals("")))

2.Fixed the bug in signup activity.

Similar bug as the first one, and solved in a similar way.

3.Added the contact info to the ListView.

By adding another customized ListAdapter to the ListView, we fetch the contact info by using the user_id and put it into the ListView.

4.Improved the user information activity.

The information can only be saved when correct phone numbers are entered.

5.Changed the theme color of our app.

results matching ""

    No results matching ""