Jump to content

dev botao

  • Este tópico foi criado há 1752 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.

Recommended Posts

Posted

Parabéns pelo demo do projeto AcbrNfce para Mobile, funcionando perfeitamente.

Fica so uma sugestão para ler o arquivo pfx no android fazer a mudança para usar TPAH.combine

unit: ACBrNFeTestFr

procedimento: ValidarEditsCertificado

function TACBrNFCeTestForm.ValidarEditsCertificado(const URL, PFX, Pass: String): Boolean;
VAr
  sArqPfx:String;
begin
  Result := not Pass.IsEmpty;
  {$IF Defined(IOS) or Defined(ANDROID)}
    sArqPfx:=TPath.Combine(TPath.GetDocumentsPath,PFX);
  {$ELSE}
    sArqPfx :=PFX;
  {$ENDIF}
  if Result then
  begin
    if (not URL.IsEmpty) then
      Result := (not PFX.IsEmpty)   // Precisa do PFX, para Cache Local
    else
      Result := (not PFX.IsEmpty) and FileExists(sArqPfx);
  end;
end;

 

ACBrNFeTestFr.pas

  • Like 3
  • 1 month later...
  • Fundadores
Posted

Obrigado @EdmarFrazao... e desculpe-me pela demora na analise...

Já incorporei a correção, e devo subir o ajuste em breve...

Estou aplicando alguns ajustes, para impressoras que não suportam Fontes Condensadas... e fazendo alguns testes no Delphi 10.4

  • Like 2
Consultor SAC ACBr

Daniel Simões de Almeida
O melhor TEF, é com o Projeto ACBr - Clique e Conheça
Ajude o Projeto ACBr crescer - Assine o SAC

Projeto ACBr     Telefone:(15) 2105-0750 WhatsApp(15)99790-2976.

  • 3 weeks later...
  • Este tópico foi criado há 1752 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.