Single Activity intent.action.VIEW with Crashlytics-Beta causing two instances of App running at same time











up vote
0
down vote

favorite












i have run into very strange behavior of crashlytics beta when tester claims he is able to run two instances of app at the same time.



enter image description here



Log is telling me that its completely same packageName so we cant distinguish from which that log came.



I did some research and beta is propably running it inside their app with something like this:



Intent i = getPackageManager().getLaunchIntentForPackage("com.package.ofapp");
startActivity(i);


with combination of action.View in manifest its causing to run two instances of the app



<activity android:name="com.kebab.KebabApp">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<action android:name="android.intent.action.VIEW" />
</intent-filter>
</activity>


So i would say its ok. Just lets get rid of the action.View.



<action android:name="android.intent.action.VIEW" />


After that its start screaming at me:




App is not indexable by Google Search; consider adding at least one
Activity with an ACTION-VIEW intent-filler. See issue explanation for
more details.




So i have to put ignoring GoogleAppIndexingWarning into lint because i am using google single app standard combining with crashlytics beta ?










share|improve this question
























  • The warning you get App is not indexable by Google Search can be ignored, it has nothing to do with your issue. Please provide your manifest.
    – HB.
    Nov 21 at 16:12















up vote
0
down vote

favorite












i have run into very strange behavior of crashlytics beta when tester claims he is able to run two instances of app at the same time.



enter image description here



Log is telling me that its completely same packageName so we cant distinguish from which that log came.



I did some research and beta is propably running it inside their app with something like this:



Intent i = getPackageManager().getLaunchIntentForPackage("com.package.ofapp");
startActivity(i);


with combination of action.View in manifest its causing to run two instances of the app



<activity android:name="com.kebab.KebabApp">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<action android:name="android.intent.action.VIEW" />
</intent-filter>
</activity>


So i would say its ok. Just lets get rid of the action.View.



<action android:name="android.intent.action.VIEW" />


After that its start screaming at me:




App is not indexable by Google Search; consider adding at least one
Activity with an ACTION-VIEW intent-filler. See issue explanation for
more details.




So i have to put ignoring GoogleAppIndexingWarning into lint because i am using google single app standard combining with crashlytics beta ?










share|improve this question
























  • The warning you get App is not indexable by Google Search can be ignored, it has nothing to do with your issue. Please provide your manifest.
    – HB.
    Nov 21 at 16:12













up vote
0
down vote

favorite









up vote
0
down vote

favorite











i have run into very strange behavior of crashlytics beta when tester claims he is able to run two instances of app at the same time.



enter image description here



Log is telling me that its completely same packageName so we cant distinguish from which that log came.



I did some research and beta is propably running it inside their app with something like this:



Intent i = getPackageManager().getLaunchIntentForPackage("com.package.ofapp");
startActivity(i);


with combination of action.View in manifest its causing to run two instances of the app



<activity android:name="com.kebab.KebabApp">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<action android:name="android.intent.action.VIEW" />
</intent-filter>
</activity>


So i would say its ok. Just lets get rid of the action.View.



<action android:name="android.intent.action.VIEW" />


After that its start screaming at me:




App is not indexable by Google Search; consider adding at least one
Activity with an ACTION-VIEW intent-filler. See issue explanation for
more details.




So i have to put ignoring GoogleAppIndexingWarning into lint because i am using google single app standard combining with crashlytics beta ?










share|improve this question















i have run into very strange behavior of crashlytics beta when tester claims he is able to run two instances of app at the same time.



enter image description here



Log is telling me that its completely same packageName so we cant distinguish from which that log came.



I did some research and beta is propably running it inside their app with something like this:



Intent i = getPackageManager().getLaunchIntentForPackage("com.package.ofapp");
startActivity(i);


with combination of action.View in manifest its causing to run two instances of the app



<activity android:name="com.kebab.KebabApp">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<action android:name="android.intent.action.VIEW" />
</intent-filter>
</activity>


So i would say its ok. Just lets get rid of the action.View.



<action android:name="android.intent.action.VIEW" />


After that its start screaming at me:




App is not indexable by Google Search; consider adding at least one
Activity with an ACTION-VIEW intent-filler. See issue explanation for
more details.




So i have to put ignoring GoogleAppIndexingWarning into lint because i am using google single app standard combining with crashlytics beta ?







android android-manifest crashlytics-beta






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 22 at 10:12

























asked Nov 21 at 15:25









Kebab Krabby

428




428












  • The warning you get App is not indexable by Google Search can be ignored, it has nothing to do with your issue. Please provide your manifest.
    – HB.
    Nov 21 at 16:12


















  • The warning you get App is not indexable by Google Search can be ignored, it has nothing to do with your issue. Please provide your manifest.
    – HB.
    Nov 21 at 16:12
















The warning you get App is not indexable by Google Search can be ignored, it has nothing to do with your issue. Please provide your manifest.
– HB.
Nov 21 at 16:12




The warning you get App is not indexable by Google Search can be ignored, it has nothing to do with your issue. Please provide your manifest.
– HB.
Nov 21 at 16:12












1 Answer
1






active

oldest

votes

















up vote
0
down vote













Here is my manifest @HB



<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="package">

<!-- permissions -->

<application
android:name="package"
android:allowBackup="true"
android:icon="${appIcon}"
android:label="@string/app_name"
android:roundIcon="${roundIcon}"
android:supportsRtl="true"
android:theme="@style/AppTheme">

<activity android:name="package.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>





share|improve this answer





















    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














     

    draft saved


    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53415292%2fsingle-activity-intent-action-view-with-crashlytics-beta-causing-two-instances-o%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    Here is my manifest @HB



    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="package">

    <!-- permissions -->

    <application
    android:name="package"
    android:allowBackup="true"
    android:icon="${appIcon}"
    android:label="@string/app_name"
    android:roundIcon="${roundIcon}"
    android:supportsRtl="true"
    android:theme="@style/AppTheme">

    <activity android:name="package.MainActivity">
    <intent-filter>
    <action android:name="android.intent.action.MAIN" />
    <category android:name="android.intent.category.LAUNCHER" />
    </intent-filter>
    </activity>
    </application>
    </manifest>





    share|improve this answer

























      up vote
      0
      down vote













      Here is my manifest @HB



      <manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="package">

      <!-- permissions -->

      <application
      android:name="package"
      android:allowBackup="true"
      android:icon="${appIcon}"
      android:label="@string/app_name"
      android:roundIcon="${roundIcon}"
      android:supportsRtl="true"
      android:theme="@style/AppTheme">

      <activity android:name="package.MainActivity">
      <intent-filter>
      <action android:name="android.intent.action.MAIN" />
      <category android:name="android.intent.category.LAUNCHER" />
      </intent-filter>
      </activity>
      </application>
      </manifest>





      share|improve this answer























        up vote
        0
        down vote










        up vote
        0
        down vote









        Here is my manifest @HB



        <manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="package">

        <!-- permissions -->

        <application
        android:name="package"
        android:allowBackup="true"
        android:icon="${appIcon}"
        android:label="@string/app_name"
        android:roundIcon="${roundIcon}"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">

        <activity android:name="package.MainActivity">
        <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
        </activity>
        </application>
        </manifest>





        share|improve this answer












        Here is my manifest @HB



        <manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="package">

        <!-- permissions -->

        <application
        android:name="package"
        android:allowBackup="true"
        android:icon="${appIcon}"
        android:label="@string/app_name"
        android:roundIcon="${roundIcon}"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">

        <activity android:name="package.MainActivity">
        <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
        </activity>
        </application>
        </manifest>






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 21 at 16:49









        Kebab Krabby

        428




        428






























             

            draft saved


            draft discarded



















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53415292%2fsingle-activity-intent-action-view-with-crashlytics-beta-causing-two-instances-o%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Contact image not getting when fetch all contact list from iPhone by CNContact

            count number of partitions of a set with n elements into k subsets

            A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks