Skip to content
View joev323's full-sized avatar

Block or report joev323

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
joev323/README.md

Mobile Messaging SDK for Android

Download License

Mobile Messaging SDK is designed and developed to easily enable push notification channel in your mobile application. In almost no time of implementation you get push notification in your application and access to the features of Infobip Mobile Apps Messaging. The document describes library integration steps. Additional information can be found in our Wiki.

Requirements

  • Android Studio
  • Supported API Levels: 16 (Android 4.0 - Jellybean) - 31 (Android 12.0)
  • AndroidX

Quick start guide

  1. Make sure to setup application at Infobip portal, if you haven't already.
  2. Add dependencies to app/build.gradle
    dependencies {
        ...
        implementation ('com.infobip:infobip-mobile-messaging-android-sdk:6.2.0@aar') {
            transitive = true
        }
    }
    Gradle dependencies
  3. Add a Firebase configuration file as described in Firebase documentation

Notice:

Check Applying Firebase configuration in MobileMessaging SDK Guide for alternatives.

  1. Add Infobip Application Code obtained in step 1 to values/strings.xml

    <resources>
        <string name="infobip_application_code">APPLICATION CODE</string>
        ...
    </resources>
    String resources
  2. Add code to MainActivity#onCreate

    public class MainActivity extends AppCompatActivity {
    
        @Override
        protected void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.activity_main);
    
            new MobileMessaging
                    .Builder(getApplication())
                    .build();
        }
    }
    String resources

NEXT STEPS: User profile


Notes

  1. All required manifest components are merged to application manifest automatically by manifest merger. Please include push-related components to manifest manually if manifest merger was disabled.
  2. MobileMessaging library has geofencing service disabled by default. In order to opt-in the service, follow this guide.
  3. Keep in mind that some proprietary android versions may restrict network traffic for your app. It may in turn affect delivery of push notifications.

If you have any questions or suggestions, feel free to send an email to support@infobip.com or create an issue.

Popular repositories Loading

  1. joev323 joev323 Public

    Config files for my GitHub profile.

    Java

  2. docs docs Public

    Forked from github/docs

    The open-source repo for docs.github.com

    JavaScript

  3. greenjs greenjs Public

    Forked from webappio/greenjs

    GreenJS combines esbuild, Go, and prerendering into a great developer experience for React users.

    JavaScript

  4. documentation documentation Public

    Forked from npm/documentation

    Documentation for the npm registry, website, and command-line interface.

    JavaScript

  5. vscode-docker vscode-docker Public

    Forked from microsoft/vscode-docker

    Docker Extension for Visual Studio Code

    TypeScript