No description
Find a file
2018-11-15 15:06:20 +01:00
.tx Fix new local for hebrew 2017-04-21 16:41:01 +02:00
app Fixed use of our maven repository for SDK with correct version number 2018-11-15 14:36:05 +01:00
gradle/wrapper Cleaned app's project structure 2018-11-15 13:06:12 +01:00
linphone-sdk@f560824b7b Updated linphone-sdk to build limev2 and aar with correct package name 2018-11-15 14:24:18 +01:00
linphone-sdk-android Updated way of using locally generated aar 2018-11-15 13:53:23 +01:00
.gitignore Cleaned app's project structure 2018-11-15 13:06:12 +01:00
.gitmodules Cleaned app's project structure 2018-11-15 13:06:12 +01:00
build.gradle Always use firebase dependency 2018-11-15 13:12:44 +01:00
CHANGELOG.md Feature/texture view 2018-10-22 10:39:47 +02:00
check_unused_resources.py Cleaned app's project structure 2018-11-15 13:06:12 +01:00
gradle.properties Update ram memory used for gradle 2018-08-02 13:41:49 +02:00
gradlew Updating plugins 2017-08-29 16:02:09 +02:00
gradlew.bat Add gradlew file 2017-02-24 10:37:49 +01:00
prepare.py Fixed build with NDK 18 2018-10-01 16:41:39 +02:00
README.md Updated README 2018-11-15 15:06:20 +01:00
settings.gradle Cleaned app's project structure 2018-11-15 13:06:12 +01:00

pipeline status

Linphone is a free VoIP and video softphone based on the SIP protocol.

Getting Started

Now the default way of building linphone-android is to download the AAR SDK in our maven repository. However, if you wish to use a locally compiled SDK here's how to proceed.

Building a local SDK

  1. Update the submodules of this project (if not done yet) using the following command:
git submodule update --recursive --init

After that the folder linphone-sdk will now contain all the modules required to build our SDK.

  1. Follow the instructions in the linphone-sdk/README file to build the SDK.

  2. Rebuild the app in Android Studio.

Create an apk with a different package name

Before the 4.1 release, there were a lot of files to edit to change the package name. Now, simply edit the app/build.gradle file and change the value returned by method getPackageName() The next build will automatically use this value everywhere thanks to manifestPlaceholders feature of gradle and Android.

You may have already noticed that the app installed by Android Studio has org.linphone.debug package name. If you build the app as release, the package name will be org.linphone. This allows developpers to keep a stable version as well as a developpment one on the same device easily.

Firebase push notifications

Now that Google Cloud Messaging has been deprecated and will be completely removed on April 11th 2019, the only official way of using push notifications is through Firebase. However to make Firebase push notifications work, the project needs to have a file named app/google-services.json that contains some confidential informations, so you won't find it (it has been added to the .gitignore file). This means that if you compile this project, you won't have push notification feature working in the app!

To enable them, just add your own 'google-services.json' in the app folder, add your key at 'push_sender_id' and 'firebase' at 'push_type' in 'res/values/non_localizable_custom.xml'.

CONTRIBUTIONS

In order to submit a patch for inclusion in linphone's source code:

  1. First make sure your patch applies to latest git sources before submitting: patches made to old versions can't and won't be merged.
  2. Fill out and send us an email with the link of pullrequest and the Contributor Agreement for your patch to be included in the git tree. The goal of this agreement to grant us peaceful exercise of our rights on the linphone source code, while not losing your rights on your contribution.