Merge pull request #1216 from mozilla/new-package-name-and-release-server

Switch the package name, for signing with a new key; switch the server to send.firefox.com
This commit is contained in:
Danny Coates 2019-03-12 10:05:02 -07:00 committed by GitHub
commit 30fc4e7e08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 7 deletions

View File

@ -22,7 +22,7 @@ import { getTranslator } from '../app/locale';
import { delay } from '../app/utils'; import { delay } from '../app/utils';
if (navigator.userAgent === 'Send Android') { if (navigator.userAgent === 'Send Android') {
setApiUrlPrefix('https://send2.dev.lcip.org'); setApiUrlPrefix('https://send.firefox.com');
} }
const app = choo(); const app = choo();

View File

@ -7,7 +7,7 @@ apply plugin: 'kotlin-android-extensions'
android { android {
compileSdkVersion 27 compileSdkVersion 27
defaultConfig { defaultConfig {
applicationId "org.mozilla.sendandroid" applicationId "org.mozilla.firefoxsend"
minSdkVersion 26 minSdkVersion 26
targetSdkVersion 27 targetSdkVersion 27
versionCode 1 versionCode 1

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.mozilla.sendandroid"> package="org.mozilla.firefoxsend">
<uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
@ -13,7 +13,7 @@
android:supportsRtl="true" android:supportsRtl="true"
android:theme="@style/AppTheme"> android:theme="@style/AppTheme">
<meta-data android:name="android.webkit.WebView.EnableSafeBrowsing" android:value="false" /> <meta-data android:name="android.webkit.WebView.EnableSafeBrowsing" android:value="false" />
<activity android:name=".MainActivity" android:screenOrientation="portrait"> <activity android:name="org.mozilla.firefoxsend.MainActivity" android:screenOrientation="portrait">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />

View File

@ -1,11 +1,10 @@
package org.mozilla.sendandroid package org.mozilla.firefoxsend
import android.support.v7.app.AppCompatActivity import android.support.v7.app.AppCompatActivity
import android.os.Bundle import android.os.Bundle
import im.delight.android.webview.AdvancedWebView import im.delight.android.webview.AdvancedWebView
import android.graphics.Bitmap import android.graphics.Bitmap
import android.content.Context
import android.content.Intent import android.content.Intent
import android.annotation.SuppressLint import android.annotation.SuppressLint
import android.content.ComponentName import android.content.ComponentName
@ -20,7 +19,6 @@ import android.webkit.JavascriptInterface
import android.webkit.WebChromeClient import android.webkit.WebChromeClient
import mozilla.components.service.fxa.Config import mozilla.components.service.fxa.Config
import mozilla.components.service.fxa.FirefoxAccount import mozilla.components.service.fxa.FirefoxAccount
import mozilla.components.service.fxa.OAuthInfo
import mozilla.components.service.fxa.Profile import mozilla.components.service.fxa.Profile
import mozilla.components.service.fxa.FxaResult import mozilla.components.service.fxa.FxaResult