title: Error io.branch.referral.InstallListener Class Not Found Crash Ionic v5
body: <p>I have an issue with an ionic app and branch SDK, at test ENV everything works as expected but users' in PROD crash continuously. </p>
  
  <p>As stated in the branch docs I have initialized branch on platform ready event at app.component.ts:</p>
  
  <pre><code>app.component.ts
  import { Component } from "@angular/core";
  import { Platform } from "ionic-angular";
  import { StatusBar, Splashscreen } from "ionic-native";
  
  import { TabsPage } from "../pages/tabs/tabs";
  
  @Component({
    template: `&lt;ion-nav [root]="rootPage"&gt;&lt;/ion-nav&gt;`
  })
  export class MyApp {
    rootPage = TabsPage;
  
    constructor(platform: Platform) {
      platform.ready().then(() =&gt; {
        StatusBar.styleDefault();
        Splashscreen.hide();
        branchInit();
      });
  
      platform.resume.subscribe(() =&gt; {
        branchInit();
      });
  
      // Branch initialization
      const branchInit = () =&gt; {
        // only on devices
        if (!platform.is("cordova")) {
          return;
        }
        const Branch = window["Branch"];
        Branch.initSession().then(data =&gt; {
          if (data["+clicked_branch_link"]) {
            // read deep link data on click
            alert("Deep Link Data: " + JSON.stringify(data));
          }
        });
      };
    }
  }
  </code></pre>
  
  <p>The error is as follows:</p>
  
  <pre><code>Unable to instantiate receiver io.branch.referral.InstallListener: java.lang.ClassNotFoundException: Didn't find class "io.branch.referral.InstallListener"
  </code></pre>
  
  <p>Here's my ionic info</p>
  
  <pre><code>    Ionic:
  
     Ionic CLI                     : 5.4.15 (/Users/path/.nvm/versions/node/v9.6.0/lib/node_modules/ionic)
     Ionic Framework               : @ionic/angular 4.11.5
     @angular-devkit/build-angular : 0.12.4
     @angular-devkit/schematics    : 7.2.4
     @angular/cli                  : 7.2.4
     @ionic/angular-toolkit        : 1.3.0
  
  Cordova:
  
     Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)
     Cordova Platforms : android 8.1.0
     Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.1, (and 30 other plugins)
  
  Utility:
  
     cordova-res                          : not installed
     native-run (update available: 0.3.0) : 0.2.7
  
  System:
  
     Android SDK Tools : 26.1.1 (/Users/path/Library/Android/sdk)
     NodeJS            : v9.6.0 (/Users/path/.nvm/versions/node/v9.6.0/bin/node)
     npm               : 2.15.12
     OS                : macOS High Sierra
     Xcode             : Xcode 10.1 Build version 10B61
  </code></pre>