Unable to get item URL in my Share Extension from Gumtreeios share extension unable to get shared URL from chromeswift share extension not sharing amzon itemApp Extension iOS9: How can I send a string / URL from the share view to my the app?ios share extension unable to get shared URL from chromeDisplay an UIAlertController from my share extension ShareViewControllerWatchkit Extension Cannot Read from iCloudiOS Share Extension - extract images from urliOS Share Extension not displaying/not able to receive URLiOS YouTube Share Extension Not Providing URLiOS Share Extension: get URL of page when sharing via context menu in Safariswift share extension not sharing amzon itemiOS Share Extension issue with ItemProvider can't read from Photo library

When is the earliest in Earth history when Grade 5 Titanium alloy could be made, assuming one knows the formula and has the feedstock?

How was ownership of property managed during the Black Death, when so many original owners had died?

How to count the number of function evaluations in NIntegrate

Madrid to London w/ Expired 90/180 days stay as US citizen

Floating Point XOR

Very lazy puppy

What is the maximum viable speed for a projectile within earth's atmosphere?

How does one calculate the distribution of the Matt Colville way of rolling stats?

How to ask a man to not take up more than one seat on public transport while avoiding conflict?

What are sources for Magic Items that are not adventure-specific?

Lead Amalgam as a Material for a Sword

How often is duct tape used during crewed space missions?

Is there a comprehensive book, contains (algebra, trig, calculus, differential equations, statistics, ...)?

Did slaves have slaves?

What are the end bytes of *.docx file format

I was cheated into a job and want to leave ASAP, what do I tell my interviewers?

What's the purpose of autocorrelation?

SMTP banner mismatch with multiple MX records

I feel like most of my characters are the same, what can I do?

How do rulers get rich from war?

Why are there two bearded faces wearing red hats on my stealth bomber icon?

Dear Fellow PSE Users,

How should errors be reported in scientific libraries?

Microservices and Stored Procedures



Unable to get item URL in my Share Extension from Gumtree


ios share extension unable to get shared URL from chromeswift share extension not sharing amzon itemApp Extension iOS9: How can I send a string / URL from the share view to my the app?ios share extension unable to get shared URL from chromeDisplay an UIAlertController from my share extension ShareViewControllerWatchkit Extension Cannot Read from iCloudiOS Share Extension - extract images from urliOS Share Extension not displaying/not able to receive URLiOS YouTube Share Extension Not Providing URLiOS Share Extension: get URL of page when sharing via context menu in Safariswift share extension not sharing amzon itemiOS Share Extension issue with ItemProvider can't read from Photo library






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I want to be able to get the URL of an item from the Gumtree app.
However, when I tap 'Share' in the Gumtree app and tap my app I get a public.plain-text type identifier.

Compared to doing the same to either Facebook or eBay, I am able to get the item URL with no problem at all. Just seems to be Gumtree.


If I tap "Message" from the 'share sheet' within Gumtree, the Message app show item title and item URL (which is what I want my Share Extension to get returned with) but instead I just get the item title and no URL.



enter image description here


Here is my share extsnsion Info.plist:

enter image description here


Is there something I am doing wrong to no geting the URL? Or is Gumtree no relasing the correct info?


I have looked at swift share extension not sharing amzon item and ios share extension unable to get shared URL from chrome, but none of the purposed solutions work for me.


Here is the code in my extension to detect the typeIdentifier...



if let inputItem = extensionContext!.inputItems.first as? NSExtensionItem,
let itemProvider = inputItem.attachments?.first {

if itemProvider.hasItemConformingToTypeIdentifier("com.apple.property-list")
// Safari
itemProvider.loadItem(forTypeIdentifier: kUTTypePropertyList as String) (dict, error) in

guard error == nil else
// Error Alert
return


let itemDictionary = dict as! NSDictionary
let javaScriptValues = itemDictionary[NSExtensionJavaScriptPreprocessingResultsKey] as! NSDictionary
self.processValidURL(shareURL: URL(string: javaScriptValues["URL"]! as! String)!)


else if itemProvider.hasItemConformingToTypeIdentifier("public.url")
// URL / IN-APP
itemProvider.loadItem(forTypeIdentifier: "public.url", options: nil) (url, error) in

guard error == nil else
// Error Alert
return


self.processValidURL(shareURL: url as! URL)











share|improve this question






























    0















    I want to be able to get the URL of an item from the Gumtree app.
    However, when I tap 'Share' in the Gumtree app and tap my app I get a public.plain-text type identifier.

    Compared to doing the same to either Facebook or eBay, I am able to get the item URL with no problem at all. Just seems to be Gumtree.


    If I tap "Message" from the 'share sheet' within Gumtree, the Message app show item title and item URL (which is what I want my Share Extension to get returned with) but instead I just get the item title and no URL.



    enter image description here


    Here is my share extsnsion Info.plist:

    enter image description here


    Is there something I am doing wrong to no geting the URL? Or is Gumtree no relasing the correct info?


    I have looked at swift share extension not sharing amzon item and ios share extension unable to get shared URL from chrome, but none of the purposed solutions work for me.


    Here is the code in my extension to detect the typeIdentifier...



    if let inputItem = extensionContext!.inputItems.first as? NSExtensionItem,
    let itemProvider = inputItem.attachments?.first {

    if itemProvider.hasItemConformingToTypeIdentifier("com.apple.property-list")
    // Safari
    itemProvider.loadItem(forTypeIdentifier: kUTTypePropertyList as String) (dict, error) in

    guard error == nil else
    // Error Alert
    return


    let itemDictionary = dict as! NSDictionary
    let javaScriptValues = itemDictionary[NSExtensionJavaScriptPreprocessingResultsKey] as! NSDictionary
    self.processValidURL(shareURL: URL(string: javaScriptValues["URL"]! as! String)!)


    else if itemProvider.hasItemConformingToTypeIdentifier("public.url")
    // URL / IN-APP
    itemProvider.loadItem(forTypeIdentifier: "public.url", options: nil) (url, error) in

    guard error == nil else
    // Error Alert
    return


    self.processValidURL(shareURL: url as! URL)











    share|improve this question


























      0












      0








      0








      I want to be able to get the URL of an item from the Gumtree app.
      However, when I tap 'Share' in the Gumtree app and tap my app I get a public.plain-text type identifier.

      Compared to doing the same to either Facebook or eBay, I am able to get the item URL with no problem at all. Just seems to be Gumtree.


      If I tap "Message" from the 'share sheet' within Gumtree, the Message app show item title and item URL (which is what I want my Share Extension to get returned with) but instead I just get the item title and no URL.



      enter image description here


      Here is my share extsnsion Info.plist:

      enter image description here


      Is there something I am doing wrong to no geting the URL? Or is Gumtree no relasing the correct info?


      I have looked at swift share extension not sharing amzon item and ios share extension unable to get shared URL from chrome, but none of the purposed solutions work for me.


      Here is the code in my extension to detect the typeIdentifier...



      if let inputItem = extensionContext!.inputItems.first as? NSExtensionItem,
      let itemProvider = inputItem.attachments?.first {

      if itemProvider.hasItemConformingToTypeIdentifier("com.apple.property-list")
      // Safari
      itemProvider.loadItem(forTypeIdentifier: kUTTypePropertyList as String) (dict, error) in

      guard error == nil else
      // Error Alert
      return


      let itemDictionary = dict as! NSDictionary
      let javaScriptValues = itemDictionary[NSExtensionJavaScriptPreprocessingResultsKey] as! NSDictionary
      self.processValidURL(shareURL: URL(string: javaScriptValues["URL"]! as! String)!)


      else if itemProvider.hasItemConformingToTypeIdentifier("public.url")
      // URL / IN-APP
      itemProvider.loadItem(forTypeIdentifier: "public.url", options: nil) (url, error) in

      guard error == nil else
      // Error Alert
      return


      self.processValidURL(shareURL: url as! URL)











      share|improve this question














      I want to be able to get the URL of an item from the Gumtree app.
      However, when I tap 'Share' in the Gumtree app and tap my app I get a public.plain-text type identifier.

      Compared to doing the same to either Facebook or eBay, I am able to get the item URL with no problem at all. Just seems to be Gumtree.


      If I tap "Message" from the 'share sheet' within Gumtree, the Message app show item title and item URL (which is what I want my Share Extension to get returned with) but instead I just get the item title and no URL.



      enter image description here


      Here is my share extsnsion Info.plist:

      enter image description here


      Is there something I am doing wrong to no geting the URL? Or is Gumtree no relasing the correct info?


      I have looked at swift share extension not sharing amzon item and ios share extension unable to get shared URL from chrome, but none of the purposed solutions work for me.


      Here is the code in my extension to detect the typeIdentifier...



      if let inputItem = extensionContext!.inputItems.first as? NSExtensionItem,
      let itemProvider = inputItem.attachments?.first {

      if itemProvider.hasItemConformingToTypeIdentifier("com.apple.property-list")
      // Safari
      itemProvider.loadItem(forTypeIdentifier: kUTTypePropertyList as String) (dict, error) in

      guard error == nil else
      // Error Alert
      return


      let itemDictionary = dict as! NSDictionary
      let javaScriptValues = itemDictionary[NSExtensionJavaScriptPreprocessingResultsKey] as! NSDictionary
      self.processValidURL(shareURL: URL(string: javaScriptValues["URL"]! as! String)!)


      else if itemProvider.hasItemConformingToTypeIdentifier("public.url")
      // URL / IN-APP
      itemProvider.loadItem(forTypeIdentifier: "public.url", options: nil) (url, error) in

      guard error == nil else
      // Error Alert
      return


      self.processValidURL(shareURL: url as! URL)








      ios swift xcode ios-sharesheet






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 28 at 14:10









      DocAsh59DocAsh59

      2575 silver badges17 bronze badges




      2575 silver badges17 bronze badges

























          0






          active

          oldest

          votes










          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',
          autoActivateHeartbeat: false,
          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/4.0/"u003ecc by-sa 4.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%2f55399684%2funable-to-get-item-url-in-my-share-extension-from-gumtree%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes




          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.




















          draft saved

          draft discarded















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55399684%2funable-to-get-item-url-in-my-share-extension-from-gumtree%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

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript