{"id":394,"date":"2025-02-27T10:38:09","date_gmt":"2025-02-27T10:38:09","guid":{"rendered":"https:\/\/documentation.iqonic.design\/kivilab-laravel\/?p=394"},"modified":"2025-06-13T07:17:13","modified_gmt":"2025-06-13T07:17:13","slug":"no-matching-client-found-for-package-name","status":"publish","type":"post","link":"https:\/\/documentation.iqonic.design\/kivilab-laravel\/no-matching-client-found-for-package-name\/","title":{"rendered":"No matching client found for package name"},"content":{"rendered":"<div class=\"nolwrap\">\n<pre class=\"wp-block-preformatted\">Estimated reading: 1 minutes<\/pre>\n\n\n\n<p>If you encounter the error message &#8220;package_name&#8221; in&nbsp;<code>google-services.json<\/code>&nbsp;is not matching with your &#8220;applicationId&#8221; in the app gradle, it means that there is a mismatch between the package name specified in the&nbsp;<code>google-services.json<\/code>&nbsp;file and the&nbsp;<code>applicationId<\/code>&nbsp;defined in your app&#8217;s&nbsp;<code>build.gradle<\/code>&nbsp;file.<\/p>\n\n\n\n<p>To resolve this issue, you need to ensure that the package name and application ID are the same.<\/p>\n\n\n\n<p>Here are the steps to follow:<\/p>\n\n\n\n<p>1. Open the&nbsp;<code>google-services.json<\/code>&nbsp;file, which is typically located in the&nbsp;<code>android\/app<\/code>&nbsp;directory of your Flutter project.<\/p>\n\n\n\n<p>2. Look for the&nbsp;<code>package_name<\/code>&nbsp;field in the&nbsp;<code>google-services.json<\/code>&nbsp;file. This should match the package name you intend to use for your application.<\/p>\n\n\n\n<p>3. Next, open the&nbsp;<code>build.gradle<\/code>&nbsp;file in the&nbsp;<code>android\/app<\/code>&nbsp;directory of your project.<\/p>\n\n\n\n<p>4. In the&nbsp;<code>build.gradle<\/code>&nbsp;file, locate the&nbsp;<code>defaultConfig<\/code>&nbsp;section. Inside this section, you will find the&nbsp;<code>applicationId<\/code>&nbsp;property. Make sure that the value of&nbsp;<code>applicationId<\/code>&nbsp;matches the package name specified in the&nbsp;<code>google-services.json<\/code>&nbsp;file.<\/p>\n\n\n\n<p>5. If the package name and application ID are not the same, update either the&nbsp;<code>package_name<\/code>&nbsp;field in the&nbsp;<code>google-services.json<\/code>&nbsp;file or the&nbsp;<code>applicationId<\/code>&nbsp;property in the&nbsp;<code>build.gradle<\/code>&nbsp;file to match each other.<\/p>\n\n\n\n<p>6. Save the changes made to both files.<\/p>\n\n\n\n<p>7. Clean and rebuild your project to ensure that the changes take effect. You can do this by running the following command in the terminal within your project&#8217;s root directory:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">flutter clean<br>flutter run<\/pre>\n\n\n\n<p>Following these steps should resolve the package name mismatch error and ensure that the&nbsp;<code>google-services.json<\/code>&nbsp;file and the&nbsp;<code>build.gradle<\/code>&nbsp;file have consistent package names.<\/p>\n\n\n\n<p>For more detailed information, you can refer to the\u00a0<a href=\"https:\/\/documentation.iqonic.design\/kivilab-laravel\/configurations-customization\/firebase-configuration\">Firebase Configuration documentation<\/a>.<\/p>\n\n\n\n<p><\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Estimated reading: 1 minutes If you encounter the error message &#8220;package_name&#8221; in&nbsp;google-services.json&nbsp;is not matching with your &#8220;applicationId&#8221; in the app gradle, it means that there is a mismatch between the package name specified in the&nbsp;google-services.json&nbsp;file and the&nbsp;applicationId&nbsp;defined in your app&#8217;s&nbsp;build.gradle&nbsp;file. To resolve this issue, you need to ensure that the package name and application ID [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"parent":57,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-394","post","type-post","status-publish","format-standard","hentry","category-kivilab"],"featured_image_src":null,"author_info":{"display_name":"","author_link":"https:\/\/documentation.iqonic.design\/kivilab-laravel\/author\/"},"children":[],"_links":{"self":[{"href":"https:\/\/documentation.iqonic.design\/kivilab-laravel\/wp-json\/wp\/v2\/posts\/394","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/documentation.iqonic.design\/kivilab-laravel\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/documentation.iqonic.design\/kivilab-laravel\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/kivilab-laravel\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/kivilab-laravel\/wp-json\/wp\/v2\/comments?post=394"}],"version-history":[{"count":3,"href":"https:\/\/documentation.iqonic.design\/kivilab-laravel\/wp-json\/wp\/v2\/posts\/394\/revisions"}],"predecessor-version":[{"id":597,"href":"https:\/\/documentation.iqonic.design\/kivilab-laravel\/wp-json\/wp\/v2\/posts\/394\/revisions\/597"}],"up":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/kivilab-laravel\/wp-json\/wp\/v2\/posts\/57"}],"wp:attachment":[{"href":"https:\/\/documentation.iqonic.design\/kivilab-laravel\/wp-json\/wp\/v2\/media?parent=394"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/documentation.iqonic.design\/kivilab-laravel\/wp-json\/wp\/v2\/categories?post=394"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/documentation.iqonic.design\/kivilab-laravel\/wp-json\/wp\/v2\/tags?post=394"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}