Writings about development, future technology and life


Native module RNFirebaseModule tried to override RNFirebaseModule for module name RNFirebase

Posted on .

React Native has been a non-stop whirlwind of obscure error messages. For example:

Fatal Exception: java.lang.IllegalStateException: Native module RNFirebaseModule tried to override RNFirebaseModule for module name RNFirebase. If this was your intention, set canOverrideExistingModule=true
       at com.facebook.react.NativeModuleRegistryBuilder.addNativeModule(
       at com.facebook.react.NativeModuleRegistryBuilder.processPackage(
       at com.facebook.react.ReactInstanceManager.processPackage(
       at com.facebook.react.ReactInstanceManager.processPackages(
       at com.facebook.react.ReactInstanceManager.createReactContext(
       at com.facebook.react.ReactInstanceManager.access$600(
       at com.facebook.react.ReactInstanceManager$

This one was caused by inadvertantly including the module twice in android/app/src/main/java/com/example/

I had included RNFirebasePackage() twice:

    protected List<ReactPackage> getPackages() {
      return Arrays.<ReactPackage>asList(
          new MainReactPackage(),
            new RNFirebasePackage(),
            new VectorIconsPackage(),
            new AndroidWifiPackage(),
            new RNFirebasePackage(),
            new RNFirebaseAuthPackage()

HT to the github issue that helped me work out the problem.


Things I wish 'Ok Google' would respond properly too

Posted on .

After switching to the Google Pixel, I’ve found myself using ‘Ok Google’ more and more. Particularly when it comes to doing things like setting reminders, and events and navigating.

This is a list of things I wished worked, in no particular order, with dates attached so I can record when they do start working.


  • Some of these things are limitations of the assistant, and some of them are limitations of the application
  • It possible some of these already work and I just don’t know how to access them. Though that is itself a failure. Discovery should be easy.

April 2017

  • Take a note - Says I don’t have a note app installed
  • Navigate to X (decides that I want to walk regardless of how far). “Navigate to X by car” works, but it should be more intelligent about what it suggests as the default.
  • Navigation: Toggle the toll roads / no toll roads per trip, rather than as a global setting in the navigation app. While ‘Navigate without tolls’ works
  • Send a Telegram message
  • Send a Whatsapp message
  • Set an all-day event (The flow can only handle ‘one hour’ meetings)

VR at Officeworks

Posted on .

Not the first VR headset I’ve found in a retailer here, KMart has had both an incredibly dodgy headset and also the somewhat cooler viewmaster, but it’s interesting to see Officeworks dedicating some space to VR headsets.

VR at Officeworks

They’ve previously done 3D printing though that didn’t end up sticking.


SXSW - VR for Architecture

Posted on .

Another great session at SXSW. InsiteVR and Interior Architects talking about how they’ve been using VR to increase understanding of upcoming work.

They’ve had experiences where people had incorrect perceptions of what a space was going to look and work like, that were corrected by seeing it in VR.


SXSW - Regina Dugan - Making Epic Sh*t

Posted on .

Yet another brain dump.

Regina Dugan - Making Epic Sh*t was probably my favourite talk at SXSW so far.

  • Credentials: DARPA + Google ATAP
  • Innovation is a discipline
  • Breakthrough vs Evolutionary Innovation
  • When operating at the level that DARPA/Google ATAP operate at failure is just a part of it - Said differently Breakthrough Innovation is going to involve failure.
  • Failure isn’t the problem, fear of failure is the problem
  • Pasteur’s Quadrant - Picking highly applicable technologies for which the science is now ready

The talk wasn’t recorded but I did find a bunch of other Regina talks after:

The Google I/O talk is longer and potentially better (though slightly older).

An even older talk while Regina was still at DARPA is also interesting: