PyFCM icon indicating copy to clipboard operation
PyFCM copied to clipboard

Make service account file & credentials optional arguments, clean up BaseAPI scope

Open J-Priebe opened this issue 4 months ago • 0 comments

See related issue

Tighten up the interface by accepting Credentials directly without the need to pass in falsey values for project_id and service_account_file.

Additionally some minor cleanup to BaseAPI:

  • Remove variables that were unnecessarily part of the outer class scope
  • lowercase self.fcm_end_point to distinguish instance variable from the FCM_END_POINT_BASE constant

J-Priebe avatar Oct 01 '24 15:10 J-Priebe