code: @SuppressLint("MissingPermission")
    void putNetwork(Context context) {
      Map<String, Object> network = createMap();
      if (hasPermission(context, ACCESS_NETWORK_STATE)) {
        ConnectivityManager connectivityManager = getSystemService(context, CONNECTIVITY_SERVICE);
        if (connectivityManager != null) {
          NetworkInfo wifiInfo = connectivityManager.getNetworkInfo(TYPE_WIFI);
          network.put(NETWORK_WIFI_KEY, wifiInfo != null && wifiInfo.isConnected());
          NetworkInfo bluetoothInfo = connectivityManager.getNetworkInfo(TYPE_BLUETOOTH);
          network.put(NETWORK_BLUETOOTH_KEY, bluetoothInfo != null && bluetoothInfo.isConnected());
          NetworkInfo cellularInfo = connectivityManager.getNetworkInfo(TYPE_MOBILE);
          network.put(NETWORK_CELLULAR_KEY, cellularInfo != null && cellularInfo.isConnected());
        }
      }
  
      TelephonyManager telephonyManager = getSystemService(context, TELEPHONY_SERVICE);
      if (telephonyManager != null) {
        network.put(NETWORK_CARRIER_KEY, telephonyManager.getNetworkOperatorName());
      } else {
        network.put(NETWORK_CARRIER_KEY, "unknown");
      }
  
      put(NETWORK_KEY, network);
    }
docs: Fill this instance with network information. No need to expose a getter for this for bundled
  integrations (they'll automatically fill what they need themselves).